https://pasta-s.lternet.edu), preventing test pollution on the production repository.
EDI_TEST_THROTTLE_DELAY, default 2s in CI) for live HTTP test requests to prevent HTTP 429 rate limit errors.read_data_package_archive().tests/testthat/helper-test-package.R to keep package runtime namespace clean and modular.max-parallel: 1), request throttling, and workflow_dispatch manual triggers.httr request verbs are now centralized through internal wrappers (api_get(), api_post(), api_put(), api_delete()) that append the API key as a query parameter (?key=) when the environment variable EDI_API_KEY is present.login() to support API key authentication via a new key parameter, credentials configuration file, or interactive console prompt.
logout() to unset the EDI_API_KEY environment variable.skip_if_logged_out() to support running authenticated tests with the EDI_API_KEY, while skipping computationally heavy tests unless the environment variable RUN_ALL_TESTS is explicitly set to "true".README.Rmd documentation with API key authentication details and usage examples.auth-tokenget_audit_report() in favor of get_audit_csv_report() (#62)
create_dn(). This introduces a breaking change for
list_principal_owner_citations() and list_user_data_packages(),
which now require an EDI-ID instead of a Distinguished Name (DN). Users can
obtain their EDI-ID by logging into the
EDI Identity and Access Manager
and copying the "EDI-ID" from their profile home page. (#65)read_data_package_archive() from calling a deprecated endpoint (#47)vcr dependencyEDIutils is now on CRAN
read_data_entity_names() (#38)In the process of this refactor the function names and call patterns have changed and several functions supporting other EDI R packages have been removed, thereby creating back compatibility breaking changes with the previous major release (version 1.6.1). The previous version will be available until 2022-06-01 on the deprecated branch. Install the previous version with:
remotes::install_github("ropensci/EDIutils", ref = "deprecated")