Last updated on 2024-06-10 04:48:57 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
rnrfa | 1 | 1 | 11 |
winfapReader | 13 |
Current CRAN status: ERROR: 1, NOTE: 1, OK: 11
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
Current CRAN status: OK: 13