CRAN Package Check Results for Package BFS

Last updated on 2024-07-27 15:50:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.8 11.56 112.20 123.76 OK
r-devel-linux-x86_64-debian-gcc 0.5.8 OK
r-devel-linux-x86_64-fedora-clang 0.5.8 156.55 NOTE
r-devel-linux-x86_64-fedora-gcc 0.5.8 139.83 NOTE
r-devel-windows-x86_64 0.5.8 13.00 568.00 581.00 ERROR
r-patched-linux-x86_64 0.5.8 OK
r-release-linux-x86_64 0.5.8 9.59 107.27 116.86 OK
r-release-macos-arm64 0.5.8 304.00 ERROR
r-release-macos-x86_64 0.5.8 388.00 OK
r-release-windows-x86_64 0.5.8 10.00 225.00 235.00 OK
r-oldrel-macos-arm64 0.5.8 328.00 OK
r-oldrel-macos-x86_64 0.5.8 387.00 OK
r-oldrel-windows-x86_64 0.5.8 14.00 238.00 252.00 OK

Check Details

Version: 0.5.8
Check: data for non-ASCII characters
Result: NOTE Note: found 1227 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.5.8
Check: tests
Result: ERROR Running 'testthat.R' [478s] 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") ===>--------------------------- 9% | ETA: 20s =======>----------------------- 22% | ETA: 18s ==========>-------------------- 34% | ETA: 15s ==============>---------------- 47% | ETA: 12s ==================>------------ 60% | ETA: 9s ======================>-------- 73% | ETA: 6s ==========================>---- 86% | ETA: 3s ==============================> 99% | ETA: 0s [ FAIL 6 | WARN 2 | SKIP 0 | PASS 41 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_download_asset.R:6:3'): bfs_download_asset() works ───────── 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)`: HTTP error 503. Backtrace: ▆ 1. └─BFS::bfs_download_asset(number_asset = "24367729", destfile = tmp) at test-bfs_download_asset.R:6:3 2. └─curl::curl_download(...) ── Error ('test-bfs_get_asset_metadata.R:5:3'): bfs_get_asset_metadata() returns a none-empty list ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. ├─BFS::bfs_get_asset_metadata(number_asset = "24367729") at test-bfs_get_asset_metadata.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_abort(resp, req, body, call = error_call) 9. └─rlang::abort(...) ── Error ('test-bfs_get_asset_metadata.R:14:3'): bfs_get_asset_metadata() returns a none-empty list ── <httr2_http_503/httr2_http/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(.)`: HTTP 503 Service Unavailable. Backtrace: ▆ 1. ├─BFS::bfs_get_asset_metadata(number_bfs = "px-x-1502040100_131") at test-bfs_get_asset_metadata.R:14: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_abort(resp, req, body, call = error_call) 9. └─rlang::abort(...) ── Failure ('test-bfs_get_catalog.R:7:3'): bfs_get_catalog() returns a none-empty data.frame ── nrow(df_catalog_data) > 1 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-bfs_get_catalog_data.R:7:3'): bfs_get_catalog_data() returns a none-empty data.frame ── nrow(df_catalog_data) (`actual`) not equal to 40 (`expected`). `actual`: 0 `expected`: 40 ── Failure ('test-bfs_get_catalog_tables.R:7:3'): bfs_get_catalog_tables() returns a none-empty data.frame ── nrow(df_tables) (`actual`) not equal to 40 (`expected`). `actual`: 0 `expected`: 40 [ FAIL 6 | WARN 2 | SKIP 0 | PASS 41 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.8
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/271s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: 4. └─rstac:::assets_download.doc_items(...) 5. ├─rstac::assets_download(...) 6. └─rstac:::assets_download.doc_item(...) 7. └─base::lapply(...) 8. └─rstac (local) FUN(X[[i]], ...) 9. └─rstac:::make_get_request(...) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) 14. └─rstac:::.error(paste(error_msg, "'%s'. \n%s"), url, e$message) [ FAIL 1 | WARN 2 | SKIP 0 | PASS 49 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.