CRAN Package Check Results for Package pangaear

Last updated on 2025-07-21 08:50:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 4.92 51.36 56.28 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 4.00 37.74 41.74 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 83.96 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 96.32 ERROR
r-devel-windows-x86_64 1.1.0 6.00 67.00 73.00 OK
r-patched-linux-x86_64 1.1.0 5.41 46.29 51.70 OK
r-release-linux-x86_64 1.1.0 4.78 47.36 52.14 OK
r-release-macos-arm64 1.1.0 40.00 OK
r-release-macos-x86_64 1.1.0 66.00 OK
r-release-windows-x86_64 1.1.0 6.00 67.00 73.00 OK
r-oldrel-macos-arm64 1.1.0 32.00 OK
r-oldrel-macos-x86_64 1.1.0 50.00 OK
r-oldrel-windows-x86_64 1.1.0 8.00 80.00 88.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running ‘test-all.R’ [8s/14s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library("testthat") > test_check("pangaear") Loading required package: pangaear [ FAIL 6 | WARN 1 | SKIP 8 | PASS 31 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-oai_functions.R:67:3', 'test-pg_data.R:7:3', 'test-pg_data.R:25:3', 'test-pg_data.R:32:3', 'test-pg_data.R:50:3', 'test-pg_data.R:78:3', 'test-pg_search.r:53:3', 'test-pg_search_es.R:29:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-oai_functions.R:5:5'): pg_identify() works ───────────────────── Error in `path_to_connection(x)`: '' does not exist in current working directory ('/data/gannet/ripley/R/packages/tests-devel/pangaear.Rcheck/tests/testthat'). Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oai_functions.R:4:3 2. │ └─cassette$call_block(...) 3. └─pangaear::pg_identify() at test-oai_functions.R:5:5 4. └─oai::id(url = baseoai(), ...) 5. ├─plyr::rbind.fill(lapply(url, id_, as = as, ...)) 6. └─base::lapply(url, id_, as = as, ...) 7. └─oai (local) FUN(X[[i]], ...) 8. ├─oai:::get_headers(xml_children(xml2::read_xml(tt))[[3]]) 9. │ ├─base::lapply(...) 10. │ └─xml2::xml_children(m) 11. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE)) 12. ├─xml2::xml_children(xml2::read_xml(tt)) 13. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE)) 14. ├─xml2::read_xml(tt) 15. └─xml2:::read_xml.character(tt) 16. └─xml2:::path_to_connection(x) 17. └─xml2:::check_path(path) 18. └─cli::cli_abort(msg, call = call) 19. └─rlang::abort(...) ── Error ('test-oai_functions.R:14:5'): pg_list_sets() works ─────────────────── Error in `while_oai(url, args, token, as, ...)`: cannot parse downloaded XML, dumped raw XML to file ./oaidump_2025-07-21_07-06-57.6967271329a13f60dc3fxml Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oai_functions.R:13:3 2. │ └─cassette$call_block(...) 3. └─pangaear::pg_list_sets() at test-oai_functions.R:14:5 4. └─oai::list_sets(url = baseoai(), token = token, as = as, ...) 5. └─oai:::while_oai(url, args, token, as, ...) ── Error ('test-oai_functions.R:33:5'): pg_list_metadata_formats() works ─────── Error in `path_to_connection(x)`: '' does not exist in current working directory ('/data/gannet/ripley/R/packages/tests-devel/pangaear.Rcheck/tests/testthat'). Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oai_functions.R:32:3 2. │ └─cassette$call_block(...) 3. └─pangaear::pg_list_metadata_formats() at test-oai_functions.R:33:5 4. └─oai::list_metadataformats(url = baseoai(), ...) 5. └─oai:::one_mf(id, url, ...) 6. ├─xml2::read_xml(out) 7. └─xml2:::read_xml.character(out) 8. └─xml2:::path_to_connection(x) 9. └─xml2:::check_path(path) 10. └─cli::cli_abort(msg, call = call) 11. └─rlang::abort(...) ── Error ('test-oai_functions.R:55:5'): pg_get_record() works ────────────────── Error in `path_to_connection(x)`: '' does not exist in current working directory ('/data/gannet/ripley/R/packages/tests-devel/pangaear.Rcheck/tests/testthat'). Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oai_functions.R:54:3 2. │ └─cassette$call_block(...) 3. └─pangaear::pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.788382") at test-oai_functions.R:55:5 4. └─oai::get_records(...) 5. ├─stats::setNames(...) 6. └─base::lapply(...) 7. └─oai (local) FUN(X[[i]], ...) 8. ├─xml2::read_xml(tt) 9. └─xml2:::read_xml.character(tt) 10. └─xml2:::path_to_connection(x) 11. └─xml2:::check_path(path) 12. └─cli::cli_abort(msg, call = call) 13. └─rlang::abort(...) ── Error ('test-pg_identify.R:5:5'): pg_identify works ───────────────────────── Error in `path_to_connection(x)`: '' does not exist in current working directory ('/data/gannet/ripley/R/packages/tests-devel/pangaear.Rcheck/tests/testthat'). Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-pg_identify.R:4:3 2. │ └─cassette$call_block(...) 3. └─pangaear::pg_identify() at test-pg_identify.R:5:5 4. └─oai::id(url = baseoai(), ...) 5. ├─plyr::rbind.fill(lapply(url, id_, as = as, ...)) 6. └─base::lapply(url, id_, as = as, ...) 7. └─oai (local) FUN(X[[i]], ...) 8. ├─oai:::get_headers(xml_children(xml2::read_xml(tt))[[3]]) 9. │ ├─base::lapply(...) 10. │ └─xml2::xml_children(m) 11. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE)) 12. ├─xml2::xml_children(xml2::read_xml(tt)) 13. │ └─xml2:::nodeset_apply(x, function(x) .Call(node_children, x, TRUE)) 14. ├─xml2::read_xml(tt) 15. └─xml2:::read_xml.character(tt) 16. └─xml2:::path_to_connection(x) 17. └─xml2:::check_path(path) 18. └─cli::cli_abort(msg, call = call) 19. └─rlang::abort(...) ── Failure ('test-pg_search.r:20:3'): pg_search works and stuff, and stuff and things, also, it works ── aa$supplement_to inherits from `'logical'` not `'character'`. [ FAIL 6 | WARN 1 | SKIP 8 | PASS 31 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc