CRAN Package Check Results for Package BFS

Last updated on 2026-10-19 10:52:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.2 5.02 68.25 73.27 OK
r-devel-linux-x86_64-debian-gcc 0.7.2 3.48 50.76 54.24 OK
r-devel-linux-x86_64-fedora-clang 0.7.2 48.45 OK
r-devel-linux-x86_64-fedora-gcc 0.7.2 46.30 ERROR
r-devel-windows-x86_64 0.7.2 10.00 239.00 249.00 OK
r-patched-linux-x86_64 0.7.2 4.71 61.01 65.72 OK
r-release-linux-x86_64 0.7.2 5.04 61.64 66.68 OK
r-release-macos-arm64 0.7.2 1.00 440.00 441.00 OK
r-release-macos-x86_64 0.7.2 4.00 477.00 481.00 OK
r-release-windows-x86_64 0.7.2 8.00 517.00 525.00 OK
r-oldrel-macos-arm64 0.7.2 OK
r-oldrel-macos-x86_64 0.7.2 4.00 489.00 493.00 OK
r-oldrel-windows-x86_64 0.7.2 9.00 200.00 209.00 OK

Check Details

Version: 0.7.2
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/157s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(BFS) > > test_check("BFS") =>----------------------------- 2% | ETA: 2m ==>---------------------------- 8% | ETA: 1m ====>-------------------------- 13% | ETA: 1m =====>------------------------- 18% | ETA: 1m =======>----------------------- 24% | ETA: 46s =========>--------------------- 30% | ETA: 41s ==========>-------------------- 34% | ETA: 39s ============>------------------ 39% | ETA: 36s =============>----------------- 45% | ETA: 32s ===============>--------------- 49% | ETA: 31s ================>-------------- 53% | ETA: 29s =================>------------- 57% | ETA: 26s ===================>----------- 63% | ETA: 23s ====================>---------- 68% | ETA: 20s ======================>-------- 72% | ETA: 17s =======================>------- 77% | ETA: 14s ========================>------ 81% | ETA: 12s ==========================>---- 86% | ETA: 9s ============================>-- 92% | ETA: 5s =============================>- 98% | ETA: 1s Saving _problems/test-bfs_get_data-25.R > Waiting 1.2s for retry backoff > Waiting 1.8s for retry backoff Saving _problems/test-bfs_get_data_comments-9.R > Waiting 2s for retry backoff Saving _problems/test-bfs_get_data_comments-24.R > Waiting 1.7s for retry backoff > Waiting 1.7s for retry backoff [ FAIL 3 | WARN 0 | SKIP 9 | PASS 48 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • On CRAN (9): 'test-bfs_download_geodata.R:6:3', 'test-bfs_get_base_maps.R:5:3', 'test-bfs_get_base_maps.R:15:3', 'test-bfs_get_base_maps.R:25:3', 'test-bfs_get_base_maps.R:35:3', 'test-bfs_get_base_maps.R:45:3', 'test-bfs_get_base_maps.R:53:3', 'test-bfs_get_base_maps.R:63:3', 'test-bfs_get_base_maps.R:73:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_get_data.R:17:3'): bfs_get_data() query argument ─────────── <curl_error_recv_error/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Failure when receiving data from the peer [www.pxweb.bfs.admin.ch]: OpenSSL SSL_read: OpenSSL/3.5.9: error:0A000126:SSL routines::unexpected eof while reading, errno 0 Backtrace: ▆ 1. ├─BFS::bfs_get_data(...) at test-bfs_get_data.R:17:3 2. │ └─pxweb::pxweb_get_data(...) 3. │ └─pxweb::pxweb_advanced_get(...) 4. │ └─pxweb::pxweb_get(px) 5. │ └─pxweb::pxweb_advanced_get(...) 6. │ └─httr::GET(build_pxweb_url(px), pxweb_user_agent(), ...) 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) 11. └─curl:::raise_libcurl_error(...) ── Error ('test-bfs_get_data_comments.R:5:3'): bfs_get_data_comments() works ─── <httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. ├─BFS::bfs_get_data_comments(...) at test-bfs_get_data_comments.R:5:3 2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE) 3. ├─httr2::resp_body_json(., simplifyVector = TRUE) 4. │ └─httr2:::check_response(resp) 5. │ └─httr2:::is_response(resp) 6. └─httr2::req_perform(.) 7. └─httr2:::handle_resp(req, resp, error_call = error_call) 8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 9. ├─rlang::catch_cnd(...) 10. │ ├─rlang::eval_bare(...) 11. │ ├─base::tryCatch(...) 12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ └─base::force(expr) 16. └─rlang::abort(...) ── Error ('test-bfs_get_data_comments.R:16:3'): bfs_get_data_comments() query argument ── <httr2_http_503/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. ├─BFS::bfs_get_data_comments(...) at test-bfs_get_data_comments.R:16:3 2. │ └─... %>% httr2::resp_body_json(simplifyVector = TRUE) 3. ├─httr2::resp_body_json(., simplifyVector = TRUE) 4. │ └─httr2:::check_response(resp) 5. │ └─httr2:::is_response(resp) 6. └─httr2::req_perform(.) 7. └─httr2:::handle_resp(req, resp, error_call = error_call) 8. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 9. ├─rlang::catch_cnd(...) 10. │ ├─rlang::eval_bare(...) 11. │ ├─base::tryCatch(...) 12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ └─base::force(expr) 16. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 9 | PASS 48 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc