CRAN Package Check Results for Package BFS

Last updated on 2024-07-22 14:59:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.8 11.85 113.39 125.24 OK
r-devel-linux-x86_64-debian-gcc 0.5.8 7.32 81.94 89.26 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 8.71 104.59 113.30 ERROR
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 12.00 222.00 234.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’ [0m/13m] 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") ====>-------------------------- 14% | ETA: 9s ===========>------------------- 36% | ETA: 8s ==============>---------------- 45% | ETA: 8s ====================>---------- 68% | ETA: 5s ======================>-------- 73% | ETA: 5s ====>-------------------------- 13% | ETA: 25s =======>----------------------- 24% | ETA: 22s ==========>-------------------- 34% | ETA: 19s =============>----------------- 45% | ETA: 16s ================>-------------- 55% | ETA: 13s ====================>---------- 65% | ETA: 10s =======================>------- 75% | ETA: 7s ==========================>---- 86% | ETA: 4s =============================>- 96% | ETA: 1s [ FAIL 2 | WARN 2 | SKIP 0 | PASS 47 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_get_data_comments.R:5:3'): bfs_get_data_comments() works ─── Error in `curl::curl_fetch_memory(url, handle = handle)`: Recv failure: Connection reset by peer Backtrace: ▆ 1. └─BFS::bfs_get_data_comments(...) at test-bfs_get_data_comments.R:5:3 2. └─pxweb::pxweb_get(url = pxweb_api_url, query = pxq) 3. └─pxweb::pxweb_advanced_get(url = url, query = query, verbose = verbose) 4. └─httr::POST(...) 5. └─httr:::request_perform(req, hu$handle$handle) 6. ├─httr:::request_fetch(req$output, req$url, handle) 7. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 8. └─curl::curl_fetch_memory(url, handle = handle) ── Error ('test-bfs_get_metadata.R:5:3'): bfs_get_metadata() works ───────────── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(.)`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Recv failure: Connection reset by peer Backtrace: ▆ 1. ├─BFS::bfs_get_metadata(number_bfs = "px-x-1502040100_131") at test-bfs_get_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. └─base::tryCatch(...) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) [ FAIL 2 | WARN 2 | SKIP 0 | PASS 47 ] Error: Test failures Execution halted Flavor: r-patched-linux-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