CRAN Package Check Results for Package pmparser

Last updated on 2022-11-23 07:54:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.11 4.10 64.21 68.31 OK
r-devel-linux-x86_64-debian-gcc 1.0.11 3.41 45.57 48.98 OK
r-devel-linux-x86_64-fedora-clang 1.0.11 91.13 OK
r-devel-linux-x86_64-fedora-gcc 1.0.11 86.99 OK
r-devel-windows-x86_64 1.0.11 28.00 159.00 187.00 ERROR
r-patched-linux-x86_64 1.0.11 5.99 57.85 63.84 OK
r-release-linux-x86_64 1.0.11 4.71 57.71 62.42 OK
r-release-macos-arm64 1.0.11 63.00 OK
r-release-macos-x86_64 1.0.11 72.00 OK
r-release-windows-x86_64 1.0.11 55.00 116.00 171.00 OK
r-oldrel-macos-arm64 1.0.11 66.00 OK
r-oldrel-macos-x86_64 1.0.11 77.00 OK
r-oldrel-windows-ix86+x86_64 1.0.11 10.00 91.00 101.00 ERROR

Check Details

Version: 1.0.11
Check: tests
Result: ERROR
     Running 'testthat.R' [91s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(pmparser)
     >
     > test_check('pmparser')
     [ FAIL 1 | WARN 1 | SKIP 4 | PASS 150 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (4)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test_modify_pubmed_db_std.R:42'): modifyPubmedDb update matches standard ──
     Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/articles/21502470/files'
     Backtrace:
     ▆
     1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:42:2
     2. └─pmparser::getCitation(...)
     3. └─pmparser:::getCitationInfo()
     4. ├─data.table::data.table(jsonlite::fromJSON(latestUrl))
     5. └─jsonlite::fromJSON(latestUrl)
     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 1 | WARN 1 | SKIP 4 | PASS 150 ]
     Error: Test failures
     In addition: Warning message:
     call dbDisconnect() when finished working with a connection
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.0.11
Check: tests
Result: ERROR
     Running 'testthat.R' [22s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(pmparser)
     >
     > test_check('pmparser')
     [ FAIL 2 | WARN 4 | SKIP 4 | PASS 122 ]
    
     == Skipped tests ===============================================================
     * On CRAN (4)
    
     == Failed tests ================================================================
     -- Error ('test_modify_pubmed_db_dup.R:51'): modifyPubmedDb create is unique ---
     Error in `gzfile(file, open = "rb")`: cannot open the connection
     Backtrace:
     x
     1. \-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:51:2
     2. \-pmparser::getCitation(...)
     3. \-pmparser:::writeTableInChunks(...)
     4. +-R.utils::countLines(path)
     5. \-R.utils::countLines.default(path)
     6. \-base::gzfile(file, open = "rb")
     -- Error ('test_modify_pubmed_db_std.R:22'): modifyPubmedDb create matches standard --
     Error in `gzfile(file, open = "rb")`: cannot open the connection
     Backtrace:
     x
     1. \-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:22:2
     2. \-pmparser::getCitation(...)
     3. \-pmparser:::writeTableInChunks(...)
     4. +-R.utils::countLines(path)
     5. \-R.utils::countLines.default(path)
     6. \-base::gzfile(file, open = "rb")
    
     [ FAIL 2 | WARN 4 | SKIP 4 | PASS 122 ]
     Error: Test failures
     In addition: Warning message:
     call dbDisconnect() when finished working with a connection
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64