Skip to content

Commit

Permalink
Fix tests on R-devel
Browse files Browse the repository at this point in the history
Need a proper ORCID ID.
  • Loading branch information
gaborcsardi committed Dec 12, 2024
1 parent cd7d969 commit ac7b7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/fixtures/pkg/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: pkg
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R:
person("First", "Last", , "first.last@example.com", role = c("aut", "cre"),
comment = c(ORCID = "YOUR-ORCID-ID"))
person("Josiah", "Carberry", , "Josiah.Carberry@example.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-1825-0097"))
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ test_that("update", {

test_that("get_maintainer_email", {
pkg <- test_path("fixtures/pkg")
expect_equal(get_maintainer_email(pkg), "first.last@example.com")
expect_equal(get_maintainer_email(pkg), "Josiah.Carberry@example.com")

pkg2 <- test_path("fixtures/pkg_0.0.0.9000.tar.gz")
expect_equal(get_maintainer_email(pkg2), "[email protected]")
Expand Down

0 comments on commit ac7b7d1

Please sign in to comment.