CRAN Package Check Results for Package rnrfa

Last updated on 2024-06-07 00:54:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0.5 11.20 185.64 196.84 OK
r-devel-linux-x86_64-debian-gcc 2.1.0.5 8.23 139.45 147.68 OK
r-devel-linux-x86_64-fedora-clang 2.1.0.5 241.15 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0.5 238.05 NOTE
r-devel-windows-x86_64 2.1.0.5 9.00 238.00 247.00 ERROR
r-patched-linux-x86_64 2.1.0.5 9.60 182.74 192.34 OK
r-release-linux-x86_64 2.1.0.5 6.48 177.21 183.69 OK
r-release-macos-arm64 2.1.0.5 108.00 OK
r-release-macos-x86_64 2.1.0.5 235.00 OK
r-release-windows-x86_64 2.1.0.5 10.00 164.00 174.00 OK
r-oldrel-macos-arm64 2.1.0.5 126.00 OK
r-oldrel-macos-x86_64 2.1.0.5 185.00 OK
r-oldrel-windows-x86_64 2.1.0.5 13.00 197.00 210.00 OK

Check Details

Version: 2.1.0.5
Check: for non-standard things in the check directory
Result: NOTE Found the following files/directories: ‘DT’ ‘devtools’ ‘dygraphs’ ‘leaflet’ Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.1.0.5
Check: tests
Result: ERROR Running 'testthat.R' [113s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("rnrfa") > library("lintr") > > if (!curl::has_internet()) { + message("No internet, cannot run tests") + }else { + test_check("rnrfa") + } [ FAIL 5 | WARN 0 | SKIP 1 | PASS 53 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On Windows (1): 'test-gdf.R:18:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-catalogue.R:12:3'): Check output of catalogue for Plynlimon area ── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Recv failure: Connection was reset Backtrace: ▆ 1. ├─testthat::expect_that(...) at test-catalogue.R:12:3 2. │ └─testthat (local) condition(object) 3. │ └─testthat::expect_equal(x, expected, ..., expected.label = label) 4. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 5. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 6. └─rnrfa::catalogue(...) 7. └─rnrfa:::nrfa_api(webservice = "station-info", parameters) 8. └─httr::GET(url = url, query = parameters, ua) 9. └─httr:::request_perform(req, hu$handle$handle) 10. ├─httr:::request_fetch(req$output, req$url, handle) 11. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 12. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-catalogue.R:20:3'): Check output of catalogue for minimum records of 100 years ── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Failed to connect to nrfaapps.ceh.ac.uk port 443 after 10008 ms: Timeout was reached Backtrace: ▆ 1. └─rnrfa::catalogue(min_rec = 100) at test-catalogue.R:20:3 2. └─rnrfa:::nrfa_api(webservice = "station-info", parameters) 3. └─httr::GET(url = url, query = parameters, ua) 4. └─httr:::request_perform(req, hu$handle$handle) 5. ├─httr:::request_fetch(req$output, req$url, handle) 6. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 7. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-catalogue.R:40:3'): Check the catalogue function filters based on column values ── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Failed to connect to nrfaapps.ceh.ac.uk port 443 after 10015 ms: Timeout was reached Backtrace: ▆ 1. └─rnrfa::catalogue(column_name = "river", column_value = "Wye") at test-catalogue.R:40:3 2. └─rnrfa:::nrfa_api(webservice = "station-info", parameters) 3. └─httr::GET(url = url, query = parameters, ua) 4. └─httr:::request_perform(req, hu$handle$handle) 5. ├─httr:::request_fetch(req$output, req$url, handle) 6. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 7. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-cmr.R:5:3'): Output of cmr function for single station ───────── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Failed to connect to nrfaapps.ceh.ac.uk port 443 after 10008 ms: Timeout was reached Backtrace: ▆ 1. └─rnrfa::cmr(id = 18019, metadata = FALSE, cl = NULL) at test-cmr.R:5:3 2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose) 3. ├─base::unlist(...) 4. └─rnrfa:::get_ts_internal(...) 5. └─rnrfa:::nrfa_api(webservice = "time-series", parameters) 6. └─httr::GET(url = url, query = parameters, ua) 7. └─httr:::request_perform(req, hu$handle$handle) 8. ├─httr:::request_fetch(req$output, req$url, handle) 9. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 10. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-cmr.R:18:3'): Output of cmr function for multiple stations ───── Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Failed to connect to nrfaapps.ceh.ac.uk port 443 after 10010 ms: Timeout was reached Backtrace: ▆ 1. └─rnrfa::cmr(id = ids, metadata = FALSE, cl = NULL) at test-cmr.R:18:3 2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose) 3. └─base::lapply(...) 4. └─rnrfa (local) FUN(X[[i]], ...) 5. └─rnrfa:::nrfa_api(webservice = "time-series", parameters) 6. └─httr::GET(url = url, query = parameters, ua) 7. └─httr:::request_perform(req, hu$handle$handle) 8. ├─httr:::request_fetch(req$output, req$url, handle) 9. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 10. └─curl::curl_fetch_memory(url, handle = handle) [ FAIL 5 | WARN 0 | SKIP 1 | PASS 53 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64