* using log directory 'd:/Rcompile/CRANpkg/local/4.1/pmparser.Rcheck' * using R version 4.1.3 (2022-03-10) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'pmparser/DESCRIPTION' ... OK * this is package 'pmparser' version '1.0.16' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'pmparser' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [8s] NOTE Initiating curl with CURL_SSL_BACKEND: openssl * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [8s] 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 -- 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) ``(...) -- 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 -- 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) ``(...) -- 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [2s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE