diff --git a/CITATION.cff b/CITATION.cff index 68327c3..481a9af 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -143,9 +143,6 @@ references: email: jeroenooms@gmail.com orcid: https://orcid.org/0000-0002-4035-0289 year: '2024' - identifiers: - - type: url - value: https://arxiv.org/abs/1403.2805 doi: 10.32614/CRAN.package.jsonlite version: '>= 1.7.2' - type: software diff --git a/README.md b/README.md index 79a07f8..51e00f6 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ file and the `CITATION` file (if present) of your package. Note that **cffr** works best if your package pass `R CMD check/devtools::check()`. -As per 2024-12-18 there are at least 426 repos on GitHub using **cffr**. +As per 2024-12-30 there are at least 410 repos on GitHub using **cffr**. [Check them out here](https://github.com/search?q=cffr%20path%3A**%2FCITATION.cff&type=code). @@ -394,9 +394,6 @@ test <- cff_create("rmarkdown") email: jeroenooms@gmail.com orcid: https://orcid.org/0000-0002-4035-0289 year: '2024' - identifiers: - - type: url - value: https://arxiv.org/abs/1403.2805 doi: 10.32614/CRAN.package.jsonlite - type: software title: knitr diff --git a/cffr.Rproj b/cffr.Rproj index e171837..78bb4b7 100644 --- a/cffr.Rproj +++ b/cffr.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: 25881e07-70a0-49da-ab8f-b4b862c2aeed RestoreWorkspace: No SaveWorkspace: No diff --git a/codemeta.json b/codemeta.json index eb9729f..3ff3caa 100644 --- a/codemeta.json +++ b/codemeta.json @@ -14,7 +14,7 @@ "name": "R", "url": "https://r-project.org" }, - "runtimePlatform": "R version 4.4.2 (2024-10-31)", + "runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)", "provider": { "@id": "https://cran.r-project.org", "@type": "Organization", @@ -200,7 +200,7 @@ }, "isPartOf": "https://ropensci.org", "keywords": ["attribution", "citation", "credit", "citation-files", "cff", "metadata", "citation-file-format", "cran", "r", "r-package", "ropensci", "rstats"], - "fileSize": "1603.497KB", + "fileSize": "1623.325KB", "citation": [ { "@type": "ScholarlyArticle", diff --git a/data/cran_to_spdx.rda b/data/cran_to_spdx.rda index 00cbf54..63fd7d2 100644 Binary files a/data/cran_to_spdx.rda and b/data/cran_to_spdx.rda differ diff --git a/inst/schemaorg.json b/inst/schemaorg.json index 3b4b499..92f0606 100644 --- a/inst/schemaorg.json +++ b/inst/schemaorg.json @@ -26,6 +26,6 @@ "name": "Comprehensive R Archive Network (CRAN)", "url": "https://cran.r-project.org" }, - "runtimePlatform": "R version 4.4.2 (2024-10-31)", + "runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)", "version": "1.1.1" } diff --git a/man/cff_class.Rd b/man/cff_class.Rd index 9ab1a06..f26167b 100644 --- a/man/cff_class.Rd +++ b/man/cff_class.Rd @@ -163,7 +163,7 @@ ref_list #> given-names: Charlie #> year: '2024' #> notes: R package version 2.3.10 -#> url: https://github.com/vubiostat/r-yaml/ +#> url: https://CRAN.R-project.org/package=yaml class(ref_list) #> [1] "cff_ref_lst" "cff" @@ -337,7 +337,7 @@ toBibtex(cit) #> author = \{Shawn P Garbett and Jeremy Stephens and Kirill Simonov and Yihui Xie and Zhuoer Dong and Hadley Wickham and Jeffrey Horner and \{reikoch\} and Will Beasley and Brendan O'Connor and Gregory R. Warnes and Michael Quinn and Zhian N. Kamvar and Charlie Gao\}, #> year = \{2024\}, #> note = \{R package version 2.3.10\}, -#> url = \{https://github.com/vubiostat/r-yaml/\}, +#> url = \{https://CRAN.R-project.org/package=yaml\}, #> \} # cff_pers, cff_pers_lst diff --git a/tests/testthat/_snaps/as_cff.md b/tests/testthat/_snaps/as_cff.md index 13977cd..f58b0fe 100644 --- a/tests/testthat/_snaps/as_cff.md +++ b/tests/testthat/_snaps/as_cff.md @@ -14,7 +14,7 @@ - family-names: person given-names: A email: fake@gmail.com - orcid: https://orcid.org/0000-0000-0000-0000 + orcid: https://orcid.org/0000-0001-8457-4658 affiliation: Real Madrid website: https://www.google.com/ @@ -26,7 +26,7 @@ family-names: person given-names: A email: fake@gmail.com - orcid: https://orcid.org/0000-0000-0000-0000 + orcid: https://orcid.org/0000-0001-8457-4658 affiliation: Real Madrid website: https://www.google.com/ diff --git a/tests/testthat/test-as_cff.R b/tests/testthat/test-as_cff.R index ca1bf7a..3fc96ee 100644 --- a/tests/testthat/test-as_cff.R +++ b/tests/testthat/test-as_cff.R @@ -16,7 +16,7 @@ test_that("as_cff.person", { pers <- person("A", "person", email = "fake@gmail.com", comment = c( - ORCID = "0000-0000-0000-0000", + ORCID = "0000-0001-8457-4658", affiliation = "Real Madrid", website = "https://www.google.com/" ) diff --git a/tests/testthat/test-methods.R b/tests/testthat/test-methods.R index 79101df..f454ded 100644 --- a/tests/testthat/test-methods.R +++ b/tests/testthat/test-methods.R @@ -135,6 +135,9 @@ test_that("Convert list of authors", { test_that("as.person method", { + rvers <- getRversion() + skip_if(!grepl("^4.4", rvers), "Snapshot created with R 4.4.*") + skip_on_cran() path <- system.file("examples/CITATION_complete.cff", package = "cffr") the_cff <- cff_read(path)