* using log directory 'd:/Rcompile/CRANpkg/local/4.4/rcrossref.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rcrossref/DESCRIPTION' ... OK * this is package 'rcrossref' version '1.2.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rcrossref' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [9s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12m] ERROR Running 'test-all.R' [12m] Running the tests in 'tests/test-all.R' failed. Complete output: > library("testthat") > test_check("rcrossref") Loading required package: rcrossref [ FAIL 13 | WARN 0 | SKIP 4 | PASS 273 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-cr_abstract.R:1:1', 'test-cr_works.R:225:3', 'test-cr_works_.R:97:3', 'test-id_converter.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cr_works.R:110:5'): cr_works - parses funders correctly ────── Names of bb$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:110:5 ── Failure ('test-cr_works.R:120:5'): cr_works - parses funders correctly ────── Names of dd$data$funder[[1]] ('DOI', 'award', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'doi.asserted.by', 'name' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:120:5 ── Failure ('test-cr_works.R:127:5'): cr_works - parses funders correctly ────── Names of dd$data$funder[[1]] ('DOI', 'award', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'doi.asserted.by', 'name' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:127:5 ── Failure ('test-cr_works.R:134:5'): cr_works - parses funders correctly ────── Names of ee$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'award', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by', 'award' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:134:5 ── Failure ('test-cr_works.R:140:5'): cr_works - parses funders correctly ────── Names of ff$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:140:5 ── Failure ('test-cr_works.R:145:5'): cr_works - parses funders correctly ────── Names of gg$data$funder[[1]] ('DOI', 'name', 'doi.asserted.by', 'award', 'id.id', 'id.id.type', 'id.asserted.by') don't match 'DOI', 'name', 'doi.asserted.by', 'award' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:145:5 ── Failure ('test-cr_works.R:151:5'): cr_works - parses funders correctly ────── Names of hh$data$funder[[1]] ('DOI', 'award', 'award1', 'award2', 'doi.asserted.by', 'id.asserted.by', 'id.id', 'id.id.type', 'name') don't match 'DOI', 'award', 'award1', 'award2', 'doi.asserted.by', 'name' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-cr_works.R:94:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-cr_works.R:151:5 ── Failure ('test-cr_works_.R:92:5'): cr_works_ - parses funders correctly ───── Names of bb$message$funder ('DOI', 'name', 'doi-asserted-by', 'id') don't match 'DOI', 'name', 'doi-asserted-by' ── Failure ('test-id_converter.R:9:5'): id_converter returns ─────────────────── Names of `a` ('status', 'response-date', 'request', 'records') don't match 'status', 'responseDate', 'request', 'records' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_named(...) at test-id_converter.R:9:5 ── Failure ('test-id_converter.R:11:5'): id_converter returns ────────────────── a$responseDate inherits from `'NULL'` not `'character'`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_is(a$responseDate, "character") at test-id_converter.R:11:5 ── Failure ('test-id_converter.R:12:5'): id_converter returns ────────────────── a$request inherits from `'list'` not `'character'`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_is(a$request, "character") at test-id_converter.R:12:5 ── Failure ('test-id_converter.R:16:5'): id_converter returns ────────────────── a$records$pmid inherits from `'integer'` not `'character'`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_is(a$records$pmid, "character") at test-id_converter.R:16:5 ── Failure ('test-id_converter.R:17:5'): id_converter returns ────────────────── a$records$versions[[1]] inherits from `'NULL'` not `'character'`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-id_converter.R:4:3 2. │ └─cassette$call_block(...) 3. └─testthat::expect_is(a$records$versions[[1]], "data.frame") at test-id_converter.R:17:5 [ FAIL 13 | WARN 0 | SKIP 4 | PASS 273 ] Error: Test failures Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR