CRAN Package Check Results for Package rnrfa

Last updated on 2025-08-30 05:49:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0.7 8.57 127.42 135.99 OK
r-devel-linux-x86_64-debian-gcc 2.1.0.7 7.07 92.07 99.14 OK
r-devel-linux-x86_64-fedora-clang 2.1.0.7 207.33 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0.7 229.43 OK
r-devel-windows-x86_64 2.1.0.7 13.00 176.00 189.00 OK
r-patched-linux-x86_64 2.1.0.7 10.26 122.38 132.64 OK
r-release-linux-x86_64 2.1.0.6 8.82 120.79 129.61 ERROR
r-release-macos-arm64 2.1.0.7 107.00 OK
r-release-macos-x86_64 2.1.0.7 177.00 OK
r-release-windows-x86_64 2.1.0.7 11.00 172.00 183.00 OK
r-oldrel-macos-arm64 2.1.0.7 117.00 OK
r-oldrel-macos-x86_64 2.1.0.7 185.00 OK
r-oldrel-windows-x86_64 2.1.0.7 15.00 208.00 223.00 OK

Check Details

Version: 2.1.0.6
Check: tests
Result: ERROR Running ‘testthat.R’ [23s/47s] 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") + } [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-get_ts.R:69:3'): get_ts gdf multi works ────────────────────── as.numeric(flow[[3]][1]) not equal to 1.262. 1/1 mismatches [1] 0.588 - 1.26 == -0.674 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 66 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.