CRAN Package Check Results for Package pmparser

Last updated on 2026-10-20 07:51:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.26 5.28 58.99 64.27 OK
r-devel-linux-x86_64-debian-gcc 1.0.26 3.47 42.12 45.59 OK
r-devel-linux-x86_64-fedora-clang 1.0.26 42.76 OK
r-devel-linux-x86_64-fedora-gcc 1.0.26 46.65 OK
r-devel-windows-x86_64 1.0.26 6.00 95.00 101.00 OK
r-patched-linux-x86_64 1.0.26 4.81 51.86 56.67 OK
r-release-linux-x86_64 1.0.26 4.01 51.46 55.47 OK
r-release-macos-arm64 1.0.26 1.00 44.00 45.00 OK
r-release-macos-x86_64 1.0.26 3.00 97.00 100.00 OK
r-release-windows-x86_64 1.0.26 6.00 64.00 70.00 ERROR
r-oldrel-macos-arm64 1.0.26 OK
r-oldrel-macos-x86_64 1.0.26 4.00 114.00 118.00 OK
r-oldrel-windows-x86_64 1.0.26 8.00 93.00 101.00 OK

Check Details

Version: 1.0.26
Check: tests
Result: ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(pmparser) > > test_check('pmparser') Saving _problems/test_modify_pubmed_db_dup-53.R Saving _problems/test_modify_pubmed_db_dup-69.R Saving _problems/test_modify_pubmed_db_std-24.R Saving _problems/test_modify_pubmed_db_std-44.R [ FAIL 4 | WARN 4 | SKIP 4 | PASS 67 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test_get_citation.R:4:3', 'test_get_citation.R:13:3', 'test_get_pubmed_files.R:7:3', 'test_get_pubmed_files.R:20:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_modify_pubmed_db_dup.R:51:3'): modifyPubmedDb create is unique ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles' Backtrace: ▆ 1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:51:3 2. └─pmparser::getCitation(...) 3. └─pmparser:::getCitationInfo() 4. ├─data.table::data.table(jsonlite::fromJSON(iciteUrl)) 5. └─jsonlite::fromJSON(iciteUrl) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_con(txt, bigint_as_char) 9. ├─base::open(con, "rb") 10. └─base::open.connection(con, "rb") ── Error ('test_modify_pubmed_db_dup.R:67:3'): modifyPubmedDb update is unique ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles' Backtrace: ▆ 1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:67:3 2. └─pmparser::getCitation(...) 3. └─pmparser:::getCitationInfo() 4. ├─data.table::data.table(jsonlite::fromJSON(iciteUrl)) 5. └─jsonlite::fromJSON(iciteUrl) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_con(txt, bigint_as_char) 9. ├─base::open(con, "rb") 10. └─base::open.connection(con, "rb") ── Error ('test_modify_pubmed_db_std.R:22:3'): modifyPubmedDb create matches standard ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles' Backtrace: ▆ 1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:22:3 2. └─pmparser::getCitation(...) 3. └─pmparser:::getCitationInfo() 4. ├─data.table::data.table(jsonlite::fromJSON(iciteUrl)) 5. └─jsonlite::fromJSON(iciteUrl) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_con(txt, bigint_as_char) 9. ├─base::open(con, "rb") 10. └─base::open.connection(con, "rb") ── Error ('test_modify_pubmed_db_std.R:42:3'): modifyPubmedDb update matches standard ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles' Backtrace: ▆ 1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:42:3 2. └─pmparser::getCitation(...) 3. └─pmparser:::getCitationInfo() 4. ├─data.table::data.table(jsonlite::fromJSON(iciteUrl)) 5. └─jsonlite::fromJSON(iciteUrl) 6. └─jsonlite:::parse_and_simplify(...) 7. └─jsonlite:::parseJSON(txt, bigint_as_char) 8. └─jsonlite:::parse_con(txt, bigint_as_char) 9. ├─base::open(con, "rb") 10. └─base::open.connection(con, "rb") [ FAIL 4 | WARN 4 | SKIP 4 | PASS 67 ] Error: ! Test failures. Warning message: call dbDisconnect() when finished working with a connection Execution halted Flavor: r-release-windows-x86_64