From d62f52de9accd7c83931f0338f894d72573bda7b Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Fri, 9 Jan 2026 11:41:01 -0500 Subject: [PATCH 1/3] Don't run defunct function examples --- R/create_dn.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/create_dn.R b/R/create_dn.R index 6717949..5d50812 100644 --- a/R/create_dn.R +++ b/R/create_dn.R @@ -16,6 +16,7 @@ #' @export #' #' @examples +#' \dontrun{ #' # For an EDI account #' dn <- create_dn(userId = "my_userid", ou = "EDI") #' dn @@ -23,6 +24,7 @@ #' # For an LTER account #' dn <- create_dn(userId = "my_userid", ou = "LTER") #' dn +#' } create_dn <- function(userId, ou = "EDI") { .Defunct(msg = "'create_dn()' is defunct. Distinguished names are no longer used in EDI authentication. Use an EDI ID token instead.") From 9cc440f171c9f7e2475acc977d13810e765c9dec Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Fri, 9 Jan 2026 12:14:59 -0500 Subject: [PATCH 2/3] Update docs and package artifacts --- codemeta.json | 2 +- man/create_dn.Rd | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codemeta.json b/codemeta.json index d92c3c6..fc8cebf 100644 --- a/codemeta.json +++ b/codemeta.json @@ -174,7 +174,7 @@ }, "SystemRequirements": null }, - "fileSize": "757.246KB", + "fileSize": "757.276KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/man/create_dn.Rd b/man/create_dn.Rd index 024b52e..ece5a7f 100644 --- a/man/create_dn.Rd +++ b/man/create_dn.Rd @@ -22,6 +22,7 @@ IDs. An EDI ID can be obtained from the EDI Identity and Access Manager (\url{https://auth.edirepository.org/auth/ui/signin}). } \examples{ +\dontrun{ # For an EDI account dn <- create_dn(userId = "my_userid", ou = "EDI") dn @@ -30,6 +31,7 @@ dn dn <- create_dn(userId = "my_userid", ou = "LTER") dn } +} \seealso{ Other Miscellaneous: \code{\link{create_data_package_archive}()}, From 30252d35158fd1c3d9de58e59c6f1386db30fe14 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Fri, 9 Jan 2026 12:28:53 -0500 Subject: [PATCH 3/3] Update cran comments --- cran-comments.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index baef4fa..a4a26f7 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,17 @@ -## Revision -This release updates authentication methods to use the NEW EDI Identity and -Access Management (IAM) system and deprecates a function. These changes maintain -backward compatibility. +## Release Summary +This significant EDIutils release, version 2.0.0, implements a fundamental +update to the authentication method, as we have transitioned to the +**NEW EDI Identity and Access Management (IAM) system**. This change introduces +backwards incompatibility with previous package versions for a few functions. +To continue using EDI services, users must now create an IAM account and +generate API tokens for authentication. Detailed instructions for setting up +IAM accounts and generating tokens are available in the relevant sections of the +documentation. + +These changes are necessary to ensure the long-term stability and +maintainability of the package. We have incremented the **MAJOR** version number +(following SemVer principles) to clearly indicate these incompatible API +changes. ## Test environments