Last updated on 2025-03-06 01:51:17 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.21 | 5.38 | 53.21 | 58.59 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.21 | 3.53 | 36.40 | 39.93 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.21 | 94.35 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.21 | 99.68 | OK | |||
r-devel-macos-arm64 | 1.0.21 | 53.00 | OK | |||
r-devel-macos-x86_64 | 1.0.21 | 91.00 | OK | |||
r-devel-windows-x86_64 | 1.0.21 | 6.00 | 75.00 | 81.00 | OK | |
r-patched-linux-x86_64 | 1.0.21 | OK | ||||
r-release-linux-x86_64 | 1.0.21 | 4.39 | 40.02 | 44.41 | ERROR | |
r-release-macos-arm64 | 1.0.21 | 56.00 | OK | |||
r-release-macos-x86_64 | 1.0.21 | 120.00 | OK | |||
r-release-windows-x86_64 | 1.0.21 | 6.00 | 76.00 | 82.00 | OK | |
r-oldrel-macos-arm64 | 1.0.21 | OK | ||||
r-oldrel-macos-x86_64 | 1.0.21 | 105.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.21 | 8.00 | 89.00 | 97.00 | OK |
Version: 1.0.21
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(pmparser)
>
> test_check('pmparser')
[ FAIL 4 | WARN 0 | 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 ──
<COULDNT_RESOLVE_HOST/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")))
}(6L, "Could not resolve host: ftp.ncbi.nlm.nih.gov", TRUE)`: Could not resolve host: ftp.ncbi.nlm.nih.gov
Backtrace:
▆
1. ├─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:51:3
2. │ └─pmparser:::getReadme(con = con)
3. │ └─RCurl::getURL(glue("{remoteDir}/{filename}"))
4. │ └─RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
5. └─RCurl (local) `<fn>`(6L, "Could not resolve host: ftp.ncbi.nlm.nih.gov", TRUE)
── Error ('test_modify_pubmed_db_dup.R:67:3'): modifyPubmedDb update is unique ──
Error in `{
dNow = getRemoteFilenames(glue("{remoteDir}/{subDir}/"),
pattern)
dNow[, `:=`(sub_dir, subDir)]
}`: task 1 failed - "Could not resolve host: ftp.ncbi.nlm.nih.gov"
Backtrace:
▆
1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_dup.R:67:3
2. └─pmparser:::getPubmedFileInfo(localDir, subDirs = subDir, con = conTmp)
3. └─foreach(subDir = subDirs, .combine = rbind) %do% ...
4. └─e$fun(obj, substitute(ex), parent.frame(), e$data)
── Error ('test_modify_pubmed_db_std.R:22:3'): modifyPubmedDb create matches standard ──
<COULDNT_RESOLVE_HOST/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")))
}(6L, "Could not resolve host: ftp.ncbi.nlm.nih.gov", TRUE)`: Could not resolve host: ftp.ncbi.nlm.nih.gov
Backtrace:
▆
1. ├─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:22:3
2. │ └─pmparser:::getReadme(con = con)
3. │ └─RCurl::getURL(glue("{remoteDir}/{filename}"))
4. │ └─RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
5. └─RCurl (local) `<fn>`(6L, "Could not resolve host: ftp.ncbi.nlm.nih.gov", TRUE)
── Error ('test_modify_pubmed_db_std.R:42:3'): modifyPubmedDb update matches standard ──
Error in `{
dNow = getRemoteFilenames(glue("{remoteDir}/{subDir}/"),
pattern)
dNow[, `:=`(sub_dir, subDir)]
}`: task 1 failed - "Could not resolve host: ftp.ncbi.nlm.nih.gov"
Backtrace:
▆
1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:42:3
2. └─pmparser:::getPubmedFileInfo(localDir, subDirs = subDir, con = conTmp)
3. └─foreach(subDir = subDirs, .combine = rbind) %do% ...
4. └─e$fun(obj, substitute(ex), parent.frame(), e$data)
[ FAIL 4 | WARN 0 | SKIP 4 | PASS 67 ]
Error: Test failures
In addition: Warning message:
call dbDisconnect() when finished working with a connection
Execution halted
Flavor: r-release-linux-x86_64