CRAN Package Check Results for Package hubeau

Last updated on 2024-12-27 15:48:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 4.00 134.17 138.17 OK
r-devel-linux-x86_64-debian-gcc 0.5.0 2.81 93.37 96.18 OK
r-devel-linux-x86_64-fedora-clang 0.5.0 234.64 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 230.90 OK
r-devel-windows-x86_64 0.5.0 7.00 127.00 134.00 OK
r-patched-linux-x86_64 0.5.0 4.53 127.94 132.47 OK
r-release-linux-x86_64 0.5.0 4.22 127.24 131.46 ERROR
r-release-macos-arm64 0.5.0 63.00 OK
r-release-macos-x86_64 0.5.0 108.00 OK
r-release-windows-x86_64 0.5.0 6.00 131.00 137.00 OK
r-oldrel-macos-arm64 0.5.0 68.00 OK
r-oldrel-macos-x86_64 0.5.0 126.00 OK
r-oldrel-windows-x86_64 0.5.0 7.00 160.00 167.00 OK

Check Details

Version: 0.5.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(hubeau) > > test_check("hubeau") [ FAIL 1 | WARN 0 | SKIP 3 | PASS 4 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-get_hydrometrie_observations_tr.R:13:3', 'test-get_hydrometrie_observations_tr.R:19:3', 'test-run_all_examples.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-doApiQuery.R:2:3'): A query of more than 20000 records ───────── <curl_error_couldnt_resolve_host/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve hostname [hubeau.eaufrance.fr]: Could not resolve host: hubeau.eaufrance.fr Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-doApiQuery.R:2:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─hubeau::doApiQuery("indicateurs_services", "communes") 8. │ └─httr::GET(query, user_agent) 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) 13. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 4 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64