Skip to content

Commit c04d280

Browse files
committed
Update tests
1 parent 2318a07 commit c04d280

File tree

10 files changed

+13
-15
lines changed

10 files changed

+13
-15
lines changed

CITATION.cff

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ references:
143143
email: jeroenooms@gmail.com
144144
orcid: https://orcid.org/0000-0002-4035-0289
145145
year: '2024'
146-
identifiers:
147-
- type: url
148-
value: https://arxiv.org/abs/1403.2805
149146
doi: 10.32614/CRAN.package.jsonlite
150147
version: '>= 1.7.2'
151148
- type: software

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ file and the `CITATION` file (if present) of your package. Note that
7373
**cffr** works best if your package pass
7474
`R CMD check/devtools::check()`.
7575

76-
As per 2024-12-18 there are at least 426 repos on GitHub using **cffr**.
76+
As per 2024-12-30 there are at least 410 repos on GitHub using **cffr**.
7777
[Check them out
7878
here](https://github.com/search?q=cffr%20path%3A**%2FCITATION.cff&type=code).
7979

@@ -394,9 +394,6 @@ test <- cff_create("rmarkdown")
394394
email: jeroenooms@gmail.com
395395
orcid: https://orcid.org/0000-0002-4035-0289
396396
year: '2024'
397-
identifiers:
398-
- type: url
399-
value: https://arxiv.org/abs/1403.2805
400397
doi: 10.32614/CRAN.package.jsonlite
401398
- type: software
402399
title: knitr

cffr.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 25881e07-70a0-49da-ab8f-b4b862c2aeed
23

34
RestoreWorkspace: No
45
SaveWorkspace: No

codemeta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "R",
1515
"url": "https://r-project.org"
1616
},
17-
"runtimePlatform": "R version 4.4.2 (2024-10-31)",
17+
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
1818
"provider": {
1919
"@id": "https://cran.r-project.org",
2020
"@type": "Organization",
@@ -200,7 +200,7 @@
200200
},
201201
"isPartOf": "https://ropensci.org",
202202
"keywords": ["attribution", "citation", "credit", "citation-files", "cff", "metadata", "citation-file-format", "cran", "r", "r-package", "ropensci", "rstats"],
203-
"fileSize": "1603.497KB",
203+
"fileSize": "1623.325KB",
204204
"citation": [
205205
{
206206
"@type": "ScholarlyArticle",

data/cran_to_spdx.rda

0 Bytes
Binary file not shown.

inst/schemaorg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"name": "Comprehensive R Archive Network (CRAN)",
2727
"url": "https://cran.r-project.org"
2828
},
29-
"runtimePlatform": "R version 4.4.2 (2024-10-31)",
29+
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
3030
"version": "1.1.1"
3131
}

man/cff_class.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/_snaps/as_cff.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- family-names: person
1515
given-names: A
1616
email: fake@gmail.com
17-
orcid: https://orcid.org/0000-0000-0000-0000
17+
orcid: https://orcid.org/0000-0001-8457-4658
1818
affiliation: Real Madrid
1919
website: https://www.google.com/
2020

@@ -26,7 +26,7 @@
2626
family-names: person
2727
given-names: A
2828
email: fake@gmail.com
29-
orcid: https://orcid.org/0000-0000-0000-0000
29+
orcid: https://orcid.org/0000-0001-8457-4658
3030
affiliation: Real Madrid
3131
website: https://www.google.com/
3232

tests/testthat/test-as_cff.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test_that("as_cff.person", {
1616
pers <- person("A", "person",
1717
email = "fake@gmail.com",
1818
comment = c(
19-
ORCID = "0000-0000-0000-0000",
19+
ORCID = "0000-0001-8457-4658",
2020
affiliation = "Real Madrid",
2121
website = "https://www.google.com/"
2222
)

tests/testthat/test-methods.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ test_that("Convert list of authors", {
135135

136136

137137
test_that("as.person method", {
138+
rvers <- getRversion()
139+
skip_if(!grepl("^4.4", rvers), "Snapshot created with R 4.4.*")
140+
skip_on_cran()
138141
path <- system.file("examples/CITATION_complete.cff", package = "cffr")
139142

140143
the_cff <- cff_read(path)

0 commit comments

Comments
 (0)