Last updated on 2026-02-05 07:50:06 CET.
| Package | ERROR | OK |
|---|---|---|
| europepmc | 13 | |
| rcrossref | 1 | 12 |
| roadoi | 13 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 1.2.1
Check: tests
Result: ERROR
Running ‘test-all.R’ [56s/78s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> library("testthat")
> test_check("rcrossref")
Loading required package: rcrossref
Saving _problems/test-cr_cn-96.R
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 306 ]
══ 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 ════════════════════════════════════════════════════════════════
── Error ('test-cr_cn.R:96:5'): cr_cn cache works ──────────────────────────────
<curl_error_operation_timedout/curl_error/error/condition>
Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Timeout was reached [api.crossref.org]:
Connection timed out after 10001 milliseconds
Backtrace:
▆
1. ├─vcr::use_cassette(...) at test-cr_cn.R:93:3
2. │ └─base::withCallingHandlers(...)
3. ├─base::system.time(...) at test-cr_cn.R:96:5
4. ├─rcrossref::cr_cn(...)
5. │ └─rcrossref (local) cn(dois, ...)
6. │ ├─rlang::env_cache(...)
7. │ │ └─rlang::env_poke(env, nm, default)
8. │ └─rcrossref (local) cn_do(doi, ...)
9. │ ├─base::suppressWarnings(GET_agency_id(doi))
10. │ │ └─base::withCallingHandlers(...)
11. │ └─rcrossref:::GET_agency_id(doi)
12. │ └─rcrossref::cr_agency(x)
13. │ └─rcrossref (local) foo(dois, ...)
14. │ └─rcrossref:::cr_GET(...)
15. │ └─cli$get(...)
16. │ └─private$make_request(rr, mock)
17. │ └─vcr (local) mock_fun(opts)
18. │ └─RequestHandlerCrul$new(req)$handle()
19. │ └─self$on_recordable_request()
20. │ └─vcr:::vcr_crul_fetch(self$request_original)
21. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
22. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 306 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13