CRAN Package Check Results for Package rnrfa

Last updated on 2021-11-27 22:57:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.4 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.4 6.82 61.28 68.10 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.4 129.20 NOTE
r-devel-linux-x86_64-fedora-gcc 2.0.4 107.16 ERROR
r-devel-windows-x86_64-new-UL 2.0.4 17.00 144.00 161.00 NOTE
r-devel-windows-x86_64-new-TK 2.0.4 NOTE
r-devel-windows-x86_64-old 2.0.4 11.00 128.00 139.00 NOTE
r-patched-linux-x86_64 2.0.4 5.51 84.87 90.38 NOTE
r-patched-solaris-x86 2.0.4 190.10 NOTE
r-release-linux-x86_64 2.0.4 NOTE
r-release-macos-arm64 2.0.4 NOTE
r-release-macos-x86_64 2.0.4 NOTE
r-release-windows-ix86+x86_64 2.0.4 19.00 100.00 119.00 NOTE
r-oldrel-macos-x86_64 2.0.4 OK
r-oldrel-windows-ix86+x86_64 2.0.4 21.00 133.00 154.00 OK

Check Details

Version: 2.0.4
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 2.0.4
Check: tests
Result: ERROR
     Running 'testthat.R' [4s/200s]
    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")
     + }
     == Failed tests ================================================================
     -- Error (test-catalogue.R:5:3): Output of catalogue function is expected to be at least 1539x20 --
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::catalogue() test-catalogue.R:5:2
     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: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] Connection timeout after 10001 ms
     Backtrace:
     x
     1. +-testthat::expect_that(...) test-catalogue.R:12:2
     2. | \-testthat:::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] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::catalogue(min_rec = 100) test-catalogue.R:20:2
     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] Connection timeout after 10000 ms
     Backtrace:
     x
     1. \-rnrfa::catalogue(column_name = "river", column_value = "Wye") test-catalogue.R:40:2
     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] Connection timeout after 10000 ms
     Backtrace:
     x
     1. \-rnrfa::cmr(id = 18019, metadata = FALSE, cl = NULL) test-cmr.R:5:2
     2. \-rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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] Connection timeout after 10000 ms
     Backtrace:
     x
     1. \-rnrfa::cmr(id = ids, metadata = FALSE, cl = NULL) test-cmr.R:18:2
     2. \-rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. \-base::lapply(...)
     4. \-rnrfa:::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)
     -- Error (test-gdf.R:6:3): Output of gdf function for id 18019 -----------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10000 ms
     Backtrace:
     x
     1. \-rnrfa::gdf(id = 18019, metadata = FALSE, cl = NULL, verbose = FALSE) test-gdf.R:6:2
     2. \-rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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-gdf.R:24:3): get_ts gdf works in parallel -----------------------
     Error in `checkForRemoteErrors(val)`: one node produced an error: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::gdf(id = c(54022, 54090, 54091), cl = cl) test-gdf.R:24:2
     2. \-rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. \-parallel::parLapply(...)
     4. +-base::do.call(...)
     5. \-parallel::clusterApply(...)
     6. \-parallel:::staticClusterApply(cl, fun, length(x), argfun)
     7. \-parallel:::checkForRemoteErrors(val)
     -- Error (test-get_ts.R:18:3): get_ts cmr single works -------------------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::get_ts(id = 18019, type = "cmr") test-get_ts.R:18:2
     2. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. \-rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. \-httr::GET(url = url, query = parameters, ua)
     6. \-httr:::request_perform(req, hu$handle$handle)
     7. +-httr:::request_fetch(req$output, req$url, handle)
     8. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-get_ts.R:26:3): get_ts cmr multi works --------------------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::get_ts(id = c(54022, 54090, 54091), type = "cmr") test-get_ts.R:26:2
     2. \-base::lapply(...)
     3. \-rnrfa:::FUN(X[[i]], ...)
     4. \-rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. \-httr::GET(url = url, query = parameters, ua)
     6. \-httr:::request_perform(req, hu$handle$handle)
     7. +-httr:::request_fetch(req$output, req$url, handle)
     8. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-get_ts.R:37:3): get_ts gdf single works -------------------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::get_ts(id = 18019, type = "gdf") test-get_ts.R:37:2
     2. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. \-rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. \-httr::GET(url = url, query = parameters, ua)
     6. \-httr:::request_perform(req, hu$handle$handle)
     7. +-httr:::request_fetch(req$output, req$url, handle)
     8. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-get_ts.R:46:3): get_ts gdf multi works --------------------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::get_ts(id = c(54022, 54090, 54091), type = "gdf") test-get_ts.R:46:2
     2. \-base::lapply(...)
     3. \-rnrfa:::FUN(X[[i]], ...)
     4. \-rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. \-httr::GET(url = url, query = parameters, ua)
     6. \-httr:::request_perform(req, hu$handle$handle)
     7. +-httr:::request_fetch(req$output, req$url, handle)
     8. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-get_ts.R:60:3): Check get_ts works with other types -------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::get_ts(id = 43010, type = "amax-flow") test-get_ts.R:60:2
     2. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. \-rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. \-httr::GET(url = url, query = parameters, ua)
     6. \-httr:::request_perform(req, hu$handle$handle)
     7. +-httr:::request_fetch(req$output, req$url, handle)
     8. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-seasonal_averages.R:5:3): seasonal_averages works ---------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. +-rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") test-seasonal_averages.R:5:2
     2. | \-base::as.list(timeseries)
     3. \-rnrfa::cmr(18019)
     4. \-rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     5. +-base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     6. \-rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     7. \-rnrfa:::nrfa_api(webservice = "time-series", 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-station_ids.R:4:3): station_ids works ---------------------------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     x
     1. \-rnrfa::station_ids() test-station_ids.R:4:2
     2. \-rnrfa:::nrfa_api(webservice = "station-ids", 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)
    
     [ FAIL 15 | WARN 0 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.0.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/199s]
    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")
     + }
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-catalogue.R:5:3): Output of catalogue function is expected to be at least 1539x20 ──
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10000 ms
     Backtrace:
     █
     1. └─rnrfa::catalogue() test-catalogue.R:5:2
     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: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] Connection timeout after 10001 ms
     Backtrace:
     █
     1. ├─testthat::expect_that(...) test-catalogue.R:12:2
     2. │ └─testthat:::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] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::catalogue(min_rec = 100) test-catalogue.R:20:2
     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] Connection timeout after 10000 ms
     Backtrace:
     █
     1. └─rnrfa::catalogue(column_name = "river", column_value = "Wye") test-catalogue.R:40:2
     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] Connection timeout after 10000 ms
     Backtrace:
     █
     1. └─rnrfa::cmr(id = 18019, metadata = FALSE, cl = NULL) test-cmr.R:5:2
     2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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] Connection timeout after 10000 ms
     Backtrace:
     █
     1. └─rnrfa::cmr(id = ids, metadata = FALSE, cl = NULL) test-cmr.R:18:2
     2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. └─base::lapply(...)
     4. └─rnrfa:::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)
     ── Error (test-gdf.R:6:3): Output of gdf function for id 18019 ─────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10000 ms
     Backtrace:
     █
     1. └─rnrfa::gdf(id = 18019, metadata = FALSE, cl = NULL, verbose = FALSE) test-gdf.R:6:2
     2. └─rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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-gdf.R:24:3): get_ts gdf works in parallel ───────────────────────
     Error in `checkForRemoteErrors(val)`: one node produced an error: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::gdf(id = c(54022, 54090, 54091), cl = cl) test-gdf.R:24:2
     2. └─rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. └─parallel::parLapply(...)
     4. ├─base::do.call(...)
     5. └─parallel::clusterApply(...)
     6. └─parallel:::staticClusterApply(cl, fun, length(x), argfun)
     7. └─parallel:::checkForRemoteErrors(val)
     ── Error (test-get_ts.R:18:3): get_ts cmr single works ─────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 18019, type = "cmr") test-get_ts.R:18:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:26:3): get_ts cmr multi works ──────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = c(54022, 54090, 54091), type = "cmr") test-get_ts.R:26:2
     2. └─base::lapply(...)
     3. └─rnrfa:::FUN(X[[i]], ...)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:37:3): get_ts gdf single works ─────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 18019, type = "gdf") test-get_ts.R:37:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:46:3): get_ts gdf multi works ──────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = c(54022, 54090, 54091), type = "gdf") test-get_ts.R:46:2
     2. └─base::lapply(...)
     3. └─rnrfa:::FUN(X[[i]], ...)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:60:3): Check get_ts works with other types ─────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 43010, type = "amax-flow") test-get_ts.R:60:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-seasonal_averages.R:5:3): seasonal_averages works ───────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. ├─rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") test-seasonal_averages.R:5:2
     2. │ └─base::as.list(timeseries)
     3. └─rnrfa::cmr(18019)
     4. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     5. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     6. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     7. └─rnrfa:::nrfa_api(webservice = "time-series", 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-station_ids.R:4:3): station_ids works ───────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timeout after 10001 ms
     Backtrace:
     █
     1. └─rnrfa::station_ids() test-station_ids.R:4:2
     2. └─rnrfa:::nrfa_api(webservice = "station-ids", 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)
    
     [ FAIL 15 | WARN 0 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/199s]
    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")
     + }
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-catalogue.R:5:3): Output of catalogue function is expected to be at least 1539x20 ──
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10000 milliseconds
     Backtrace:
     █
     1. └─rnrfa::catalogue() test-catalogue.R:5:2
     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: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] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. ├─testthat::expect_that(...) test-catalogue.R:12:2
     2. │ └─testthat:::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] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::catalogue(min_rec = 100) test-catalogue.R:20:2
     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] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::catalogue(column_name = "river", column_value = "Wye") test-catalogue.R:40:2
     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] Connection timed out after 10003 milliseconds
     Backtrace:
     █
     1. └─rnrfa::cmr(id = 18019, metadata = FALSE, cl = NULL) test-cmr.R:5:2
     2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::cmr(id = ids, metadata = FALSE, cl = NULL) test-cmr.R:18:2
     2. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     3. └─base::lapply(...)
     4. └─rnrfa:::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)
     ── Error (test-gdf.R:6:3): Output of gdf function for id 18019 ─────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::gdf(id = 18019, metadata = FALSE, cl = NULL, verbose = FALSE) test-gdf.R:6:2
     2. └─rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     4. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     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-gdf.R:24:3): get_ts gdf works in parallel ───────────────────────
     Error in `checkForRemoteErrors(val)`: one node produced an error: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::gdf(id = c(54022, 54090, 54091), cl = cl) test-gdf.R:24:2
     2. └─rnrfa::get_ts(id, type = "gdf", metadata, cl, verbose)
     3. └─parallel::parLapply(...)
     4. ├─base::do.call(...)
     5. └─parallel::clusterApply(...)
     6. └─parallel:::staticClusterApply(cl, fun, length(x), argfun)
     7. └─parallel:::checkForRemoteErrors(val)
     ── Error (test-get_ts.R:18:3): get_ts cmr single works ─────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 18019, type = "cmr") test-get_ts.R:18:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:26:3): get_ts cmr multi works ──────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = c(54022, 54090, 54091), type = "cmr") test-get_ts.R:26:2
     2. └─base::lapply(...)
     3. └─rnrfa:::FUN(X[[i]], ...)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:37:3): get_ts gdf single works ─────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10000 milliseconds
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 18019, type = "gdf") test-get_ts.R:37:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:46:3): get_ts gdf multi works ──────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10000 milliseconds
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = c(54022, 54090, 54091), type = "gdf") test-get_ts.R:46:2
     2. └─base::lapply(...)
     3. └─rnrfa:::FUN(X[[i]], ...)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-get_ts.R:60:3): Check get_ts works with other types ─────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10000 milliseconds
     Backtrace:
     █
     1. └─rnrfa::get_ts(id = 43010, type = "amax-flow") test-get_ts.R:60:2
     2. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     3. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     4. └─rnrfa:::nrfa_api(webservice = "time-series", parameters)
     5. └─httr::GET(url = url, query = parameters, ua)
     6. └─httr:::request_perform(req, hu$handle$handle)
     7. ├─httr:::request_fetch(req$output, req$url, handle)
     8. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
     9. └─curl::curl_fetch_memory(url, handle = handle)
     ── Error (test-seasonal_averages.R:5:3): seasonal_averages works ───────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. ├─rnrfa::seasonal_averages(timeseries = cmr(18019), season = "Spring") test-seasonal_averages.R:5:2
     2. │ └─base::as.list(timeseries)
     3. └─rnrfa::cmr(18019)
     4. └─rnrfa::get_ts(id, type = "cmr", metadata, cl, verbose)
     5. ├─base::unlist(get_ts_internal(id, type, metadata, verbose, full_info))
     6. └─rnrfa:::get_ts_internal(id, type, metadata, verbose, full_info)
     7. └─rnrfa:::nrfa_api(webservice = "time-series", 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-station_ids.R:4:3): station_ids works ───────────────────────────
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [nrfaapps.ceh.ac.uk] Connection timed out after 10001 milliseconds
     Backtrace:
     █
     1. └─rnrfa::station_ids() test-station_ids.R:4:2
     2. └─rnrfa:::nrfa_api(webservice = "station-ids", 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)
    
     [ FAIL 15 | WARN 0 | SKIP 0 | PASS 16 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc