CRAN Package Check Results for Package ecce

Last updated on 2022-08-14 07:54:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.9 1.40 27.16 28.56 OK
r-devel-linux-x86_64-debian-gcc 1.0.9 1.65 21.40 23.05 OK
r-devel-linux-x86_64-fedora-clang 1.0.9 46.31 OK
r-devel-linux-x86_64-fedora-gcc 1.0.9 44.95 ERROR
r-devel-windows-x86_64 1.0.9 8.00 69.00 77.00 OK
r-patched-linux-x86_64 1.0.9 2.09 26.75 28.84 OK
r-release-linux-x86_64 1.0.9 1.75 26.96 28.71 OK
r-release-macos-arm64 1.0.9 27.00 OK
r-release-macos-x86_64 1.0.9 37.00 OK
r-release-windows-x86_64 1.0.9 7.00 77.00 84.00 OK
r-oldrel-macos-arm64 1.0.9 29.00 OK
r-oldrel-macos-x86_64 1.0.9 36.00 OK
r-oldrel-windows-ix86+x86_64 1.0.9 5.00 76.00 81.00 OK

Check Details

Version: 1.0.9
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(ecce)
     >
     > test_check("ecce")
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-translate.R:8:3): tanslate Chinese words into English, or English words into Chinese ──
     <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: fanyi.youdao.com", TRUE)`: Could not resolve host: fanyi.youdao.com
     Backtrace:
     ▆
     1. ├─ecce::translate("apple") at test-translate.R:8:2
     2. │ └─RCurl::getURL(url)
     3. │ └─RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
     4. └─RCurl (local) `<fn>`(6L, "Could not resolve host: fanyi.youdao.com", TRUE)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc