CRAN Package Check Results for Package BFS

Last updated on 2025-03-15 18:49:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.12 8.23 76.66 84.89 NOTE
r-devel-linux-x86_64-debian-gcc 0.5.12 0.36 1.35 1.71 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.12 140.08 NOTE
r-devel-linux-x86_64-fedora-gcc 0.5.12 205.12 NOTE
r-devel-macos-arm64 0.5.12 324.00 OK
r-devel-macos-x86_64 0.5.12 410.00 NOTE
r-devel-windows-x86_64 0.5.12 8.00 203.00 211.00 NOTE
r-patched-linux-x86_64 0.5.12 7.04 72.42 79.46 ERROR
r-release-linux-x86_64 0.5.12 7.07 73.59 80.66 OK
r-release-macos-arm64 0.5.12 346.00 OK
r-release-macos-x86_64 0.5.12 357.00 OK
r-release-windows-x86_64 0.5.12 9.00 204.00 213.00 OK
r-oldrel-macos-arm64 0.5.12 OK
r-oldrel-macos-x86_64 0.5.12 349.00 OK
r-oldrel-windows-x86_64 0.5.12 11.00 229.00 240.00 OK

Check Details

Version: 0.5.12
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘bfs_get_catalog_data.R’ ‘bfs_get_catalog_tables.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64

Version: 0.5.12
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.12
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/161s] 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") =>----------------------------- 3% | ETA: 49s ===>--------------------------- 9% | ETA: 46s =====>------------------------- 15% | ETA: 43s ======>------------------------ 21% | ETA: 39s ========>---------------------- 28% | ETA: 36s ==========>-------------------- 34% | ETA: 33s ============>------------------ 40% | ETA: 30s ==============>---------------- 46% | ETA: 27s ================>-------------- 53% | ETA: 23s ==================>------------ 59% | ETA: 20s ===================>----------- 64% | ETA: 18s =====================>--------- 70% | ETA: 15s =======================>------- 76% | ETA: 12s ========================>------ 81% | ETA: 9s ==========================>---- 87% | ETA: 6s ============================>-- 94% | ETA: 3s ==============================> 100% | ETA: 0s [ FAIL 1 | WARN 1 | SKIP 0 | PASS 51 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_download_asset.R:6:3'): bfs_download_asset() works ───────── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_download(url = paste0("https://dam-api.bfs.admin.ch/hub/api/dam/assets/", id, "/master"), destfile = destfile, quiet = quiet, mode = mode, handle = handle)`: Timeout was reached [dam-api.bfs.admin.ch]: Resolving timed out after 10000 milliseconds Backtrace: ▆ 1. ├─BFS::bfs_download_asset(number_asset = "24367729", destfile = tmp) at test-bfs_download_asset.R:6:3 2. │ └─curl::curl_download(...) 3. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 51 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64