CRAN Package Check Results for Package wbids

Last updated on 2025-11-12 07:51:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 4.50 61.85 66.35 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.1 3.15 44.93 48.08 OK
r-devel-linux-x86_64-fedora-clang 1.1.1 35.00 74.52 109.52 OK
r-devel-linux-x86_64-fedora-gcc 1.1.1 17.00 95.37 112.37 OK
r-devel-windows-x86_64 1.1.0 7.00 102.00 109.00 OK
r-patched-linux-x86_64 1.1.0 4.69 56.98 61.67 OK
r-release-linux-x86_64 1.1.0 4.27 57.07 61.34 OK
r-release-macos-arm64 1.1.1 2.00 46.00 48.00 OK
r-release-macos-x86_64 1.1.1 5.00 107.00 112.00 OK
r-release-windows-x86_64 1.1.0 8.00 82.00 90.00 ERROR
r-oldrel-macos-arm64 1.1.1 3.00 51.00 54.00 OK
r-oldrel-macos-x86_64 1.1.1 6.00 107.00 113.00 OK
r-oldrel-windows-x86_64 1.1.1 8.00 89.00 97.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/21s] 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(wbids) > > test_check("wbids") Downloading file to: /home/hornik/tmp/scratch/RtmpUe5Ffc/file2c0484557c0abb.xlsx [ FAIL 1 | WARN 1 | SKIP 7 | PASS 146 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:78:3', 'test-ids_bulk.R:166:3', 'test-ids_bulk.R:220:3', 'test-ids_bulk.R:253:3', 'test-ids_bulk.R:305:3', 'test-ids_bulk.R:372:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_bulk_info.R:2:3'): read_bulk_info returns necessary data structure ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://datacatalogapi.worldbank.org/ddhxext/DatasetDownload?dataset_unique_id=0038015&version_id=' Backtrace: ▆ 1. └─wbids:::read_bulk_info() at test-read_bulk_info.R:2:3 2. └─jsonlite::fromJSON(...) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") [ FAIL 1 | WARN 1 | SKIP 7 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.0
Check: tests
Result: ERROR Running 'testthat.R' [16s] 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(wbids) > > test_check("wbids") Downloading file to: D:\temp\2025_11_08_01_50_00_24415\RtmpiwzadR\file601029c... [ FAIL 2 | WARN 1 | SKIP 7 | PASS 145 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:78:3', 'test-ids_bulk.R:166:3', 'test-ids_bulk.R:220:3', 'test-ids_bulk.R:253:3', 'test-ids_bulk.R:305:3', 'test-ids_bulk.R:372:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-perform_request.R:63:3'): perform_request handles API errors gracefully ── <httr2_http_403/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 403 Forbidden. Backtrace: ▆ 1. ├─testthat::expect_error(perform_request("nonexistent"), "HTTP 400 Bad Request.") at test-perform_request.R:63: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. └─wbids:::perform_request("nonexistent") 8. └─httr2::req_perform(req) 9. └─httr2:::handle_resp(req, resp, error_call = error_call) 10. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 11. ├─rlang::catch_cnd(...) 12. │ ├─rlang::eval_bare(...) 13. │ ├─base::tryCatch(...) 14. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ └─base::force(expr) 18. └─rlang::abort(...) ── Error ('test-read_bulk_info.R:2:3'): read_bulk_info returns necessary data structure ── Error in `open.connection(con, "rb")`: cannot open the connection to 'https://datacatalogapi.worldbank.org/ddhxext/DatasetDownload?dataset_unique_id=0038015&version_id=' Backtrace: ▆ 1. └─wbids:::read_bulk_info() at test-read_bulk_info.R:2:3 2. └─jsonlite::fromJSON(...) 3. └─jsonlite:::parse_and_simplify(...) 4. └─jsonlite:::parseJSON(txt, bigint_as_char) 5. └─jsonlite:::parse_con(txt, bigint_as_char) 6. ├─base::open(con, "rb") 7. └─base::open.connection(con, "rb") [ FAIL 2 | WARN 1 | SKIP 7 | PASS 145 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64