CRAN Package Check Results for Package pmparser

Last updated on 2023-03-21 21:57:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.16 4.77 62.43 67.20 OK
r-devel-linux-x86_64-debian-gcc 1.0.16 3.21 46.13 49.34 OK
r-devel-linux-x86_64-fedora-clang 1.0.16 81.29 OK
r-devel-linux-x86_64-fedora-gcc 1.0.16 85.42 OK
r-patched-linux-x86_64 1.0.16 3.65 59.49 63.14 OK
r-release-linux-x86_64 1.0.16 4.68 57.61 62.29 OK
r-release-macos-arm64 1.0.16 48.00 OK
r-release-macos-x86_64 1.0.16 61.00 OK
r-release-windows-x86_64 1.0.16 25.00 96.00 121.00 OK
r-oldrel-macos-arm64 1.0.16 49.00 OK
r-oldrel-macos-x86_64 1.0.16 61.00 OK
r-oldrel-windows-ix86+x86_64 1.0.16 11.00 77.00 88.00 ERROR

Check Details

Version: 1.0.16
Check: R code for possible problems
Result: NOTE
    Initiating curl with CURL_SSL_BACKEND: openssl
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.16
Check: tests
Result: ERROR
     Running 'testthat.R' [10s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(pmparser)
     Initiating curl with CURL_SSL_BACKEND: openssl
     >
     > test_check('pmparser')
     [ FAIL 4 | WARN 4 | SKIP 4 | PASS 67 ]
    
     == Skipped tests ===============================================================
     * On CRAN (4)
    
     == Failed tests ================================================================
     -- Error ('test_modify_pubmed_db_dup.R:51:3'): modifyPubmedDb create is unique --
     <SSL_CONNECT_ERROR/GenericCurlError/error/condition>
     Error in `function (type, msg, asError = TRUE)
     {
     if (!is.character(type)) {
     i = match(type, CURLcodeValues)
     typeName = if (is.na(i))
     character()
     else names(CURLcodeValues)[i]
     }
     typeName = gsub("^CURLE_", "", typeName)
     fun = (if (asError)
     stop
     else warning)
     fun(structure(list(message = msg, call = sys.call()), class = c(typeName,
     "GenericCurlError", "error", "condition")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version",
     TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
     Backtrace:
     x
     1. +-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:51:2
     2. | \-pmparser:::getReadme(con = con)
     3. | \-RCurl::getURL(glue("{remoteDir}/{filename}"))
     4. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
     5. \-RCurl (local) `<fn>`(...)
     -- Error ('test_modify_pubmed_db_dup.R:67:3'): modifyPubmedDb update is unique --
     Error in `gzfile(file, open = "rb")`: cannot open the connection
     Backtrace:
     x
     1. \-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:67: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:3'): modifyPubmedDb create matches standard --
     <SSL_CONNECT_ERROR/GenericCurlError/error/condition>
     Error in `function (type, msg, asError = TRUE)
     {
     if (!is.character(type)) {
     i = match(type, CURLcodeValues)
     typeName = if (is.na(i))
     character()
     else names(CURLcodeValues)[i]
     }
     typeName = gsub("^CURLE_", "", typeName)
     fun = (if (asError)
     stop
     else warning)
     fun(structure(list(message = msg, call = sys.call()), class = c(typeName,
     "GenericCurlError", "error", "condition")))
     }(35L, "error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version",
     TRUE)`: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
     Backtrace:
     x
     1. +-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:22:2
     2. | \-pmparser:::getReadme(con = con)
     3. | \-RCurl::getURL(glue("{remoteDir}/{filename}"))
     4. | \-RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
     5. \-RCurl (local) `<fn>`(...)
     -- Error ('test_modify_pubmed_db_std.R:42:3'): modifyPubmedDb update matches standard --
     Error in `gzfile(file, open = "rb")`: cannot open the connection
     Backtrace:
     x
     1. \-pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:42: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 4 | WARN 4 | SKIP 4 | PASS 67 ]
     Error: Test failures
     In addition: Warning message:
     call dbDisconnect() when finished working with a connection
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64