Last updated on 2024-11-08 07:50:50 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
sgat | 1 | 9 | 3 |
Current CRAN status: ERROR: 1, NOTE: 9, OK: 3
Version: 0.9
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘plyr’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.9
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.9
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/136s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sgat)
>
> test_check("sgat")
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 0 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-initialization_sgat.R:1:1', 'test-sgat.R:1:1',
'test-sgat_day.R:1:1', 'test-tripadvisor_places.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ushuaia_restaurants.R:2:3'): gives vector ──────────────────────
<OPERATION_TIMEDOUT/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")))
}(28L, "Failed to connect to www.interpatagonia.com port 443 after 134038 ms: Could not connect to server",
TRUE)`: Failed to connect to www.interpatagonia.com port 443 after 134038 ms: Could not connect to server
Backtrace:
▆
1. ├─testthat::expect_type(restaurants <- ushuaia_restaurants(), "character") at test-ushuaia_restaurants.R:2:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─sgat::ushuaia_restaurants()
5. │ └─RCurl::getURL(address)
6. │ └─RCurl::curlPerform(curl = curl, .opts = opts, .encoding = .encoding)
7. └─RCurl (local) `<fn>`(...)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64