CRAN Package Check Results for Package rnrfa

Last updated on 2026-05-02 06:49:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0.7 10.07 136.19 146.26 OK
r-devel-linux-x86_64-debian-gcc 2.1.0.7 7.73 99.22 106.95 OK
r-devel-linux-x86_64-fedora-clang 2.1.0.7 17.00 207.92 224.92 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0.7 18.00 224.15 242.15 OK
r-devel-windows-x86_64 2.1.0.7 16.00 190.00 206.00 OK
r-patched-linux-x86_64 2.1.0.7 6.16 128.45 134.61 OK
r-release-linux-x86_64 2.1.0.7 6.21 128.17 134.38 OK
r-release-macos-arm64 2.1.0.7 3.00 91.00 94.00 OK
r-release-macos-x86_64 2.1.0.7 7.00 337.00 344.00 ERROR
r-release-windows-x86_64 2.1.0.7 12.00 190.00 202.00 OK
r-oldrel-macos-arm64 2.1.0.7 OK
r-oldrel-macos-x86_64 2.1.0.7 6.00 171.00 177.00 OK
r-oldrel-windows-x86_64 2.1.0.7 17.00 238.00 255.00 OK

Check Details

Version: 2.1.0.7
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/135s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("rnrfa") > # library("lintr") > > api_unavailable <- function(){ + resp1 <- httr::GET(url = "https://nrfaapps.ceh.ac.uk/nrfa/ws/time-series", + query = list(format = "json-object", station = 39001,`data-type` = "gdf"), + httr::user_agent("https://github.com/ilapros/rnrfa")) + resp2 <- httr::GET(url = "https://nrfaapps.ceh.ac.uk/nrfa/ws/time-series", + query = list(format = "json-object", station = 39001,`data-type` = "cmr"), + httr::user_agent("https://github.com/ilapros/rnrfa")) + # if any of the two streams is not working skip tests + (httr::http_error(resp1) | httr::http_error(resp2)) + } > > # skip_if_no_api() <- function() { > # if (api_unavailable()) { > # skip("API not available") > # } > # } > > if (!curl::has_internet()) { + message("No internet, cannot run tests") + }else { + test_check("rnrfa") + } Saving _problems/test-catalogue-17.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-catalogue.R:17:3'): Output of catalogue function is expected to be at least 1539x20 ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [nrfaapps.ceh.ac.uk]: Connection timed out after 10001 milliseconds Backtrace: ▆ 1. ├─testthat::skip_if(api_unavailable(), "API not available") at test-catalogue.R:17:3 2. │ └─base::isTRUE(condition) 3. ├─rnrfa (local) api_unavailable() 4. │ └─httr::GET(...) at test-catalogue.R:4:3 5. │ └─httr:::request_perform(req, hu$handle$handle) 6. │ ├─httr:::request_fetch(req$output, req$url, handle) 7. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 8. │ └─curl::curl_fetch_memory(url, handle = handle) 9. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ] Error: ! Test failures. Execution halted Flavor: r-release-macos-x86_64