CRAN Package Check Results for Maintainer ‘L. Teal Emery <lte at tealinsights.com>’

Last updated on 2025-06-04 15:50:02 CEST.

Package ERROR OK
econid 13
wbids 1 12

Package econid

Current CRAN status: OK: 13

Package wbids

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [10s] 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_05_31_01_50_01_3597\RtmpEZqTPw\file43202bf2... [ FAIL 16 | WARN 0 | SKIP 7 | PASS 114 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-ids_bulk.R:5:3', 'test-ids_bulk.R:75:3', 'test-ids_bulk.R:158:3', 'test-ids_bulk.R:204:3', 'test-ids_bulk.R:237:3', 'test-ids_bulk.R:288:3', 'test-ids_bulk.R:344:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ids_get.R:92:3'): ids_get returns a tibble with expected columns ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(...) at test-ids_get.R:92:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:109:3'): ids_get returns a large data ──────────────── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(...) at test-ids_get.R:109:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:152:3'): ids_get handles valid progress input ──────── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-ids_get.R:152:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─wbids::ids_get(...) 10. └─wbids:::get_debt_statistics(...) 11. └─wbids:::perform_request(resource, progress = progress_message) 12. └─httr2::req_perform(req) 13. └─httr2:::handle_resp(req, resp, error_call = error_call) 14. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 15. ├─rlang::catch_cnd(...) 16. │ ├─rlang::eval_bare(...) 17. │ ├─base::tryCatch(...) 18. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. │ └─base::force(expr) 22. └─rlang::abort(...) ── Failure ('test-ids_get.R:412:3'): ids_get enforces vector length limits ───── `ids_get(geographies = exactly_60, series = "DT.DOD.DPPG.CD")` threw an unexpected error. Message: HTTP 502 Bad Gateway. Class: httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-ids_get.R:412: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::ids_get(geographies = exactly_60, series = "DT.DOD.DPPG.CD") 8. └─wbids:::get_debt_statistics(...) 9. └─wbids:::perform_request(resource, progress = progress_message) 10. └─httr2::req_perform(req) 11. └─httr2:::handle_resp(req, resp, error_call = error_call) 12. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 13. ├─rlang::catch_cnd(...) 14. │ ├─rlang::eval_bare(...) 15. │ ├─base::tryCatch(...) 16. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ └─base::force(expr) 20. └─rlang::abort(...) ── Error ('test-ids_get.R:423:3'): ids_get uses new default parameters correctly ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(geographies = "GHA", series = "DT.DOD.DECT.CD") at test-ids_get.R:423:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:436:3'): ids_get filters post-observed-year NAs correctly ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(geographies = "GHA", series = "DT.DOD.DECT.CD") at test-ids_get.R:436:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:448:3'): ids_get correctly applies default years for projection series ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(geographies = "GHA", series = "DT.TDS.DECT.CD") at test-ids_get.R:448:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:479:3'): ids_get handles valid geography codes correctly ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-ids_get.R:479:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─wbids::ids_get(...) 10. └─wbids:::get_debt_statistics(...) 11. └─wbids:::perform_request(resource, progress = progress_message) 12. └─httr2::req_perform(req) 13. └─httr2:::handle_resp(req, resp, error_call = error_call) 14. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 15. ├─rlang::catch_cnd(...) 16. │ ├─rlang::eval_bare(...) 17. │ ├─base::tryCatch(...) 18. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. │ └─base::force(expr) 22. └─rlang::abort(...) ── Error ('test-ids_get.R:505:3'): ids_get handles valid counterpart codes correctly ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-ids_get.R:505:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─wbids::ids_get(...) 10. └─wbids:::get_debt_statistics(...) 11. └─wbids:::perform_request(resource, progress = progress_message) 12. └─httr2::req_perform(req) 13. └─httr2:::handle_resp(req, resp, error_call = error_call) 14. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 15. ├─rlang::catch_cnd(...) 16. │ ├─rlang::eval_bare(...) 17. │ ├─base::tryCatch(...) 18. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 19. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 20. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 21. │ └─base::force(expr) 22. └─rlang::abort(...) ── Error ('test-ids_get.R:542:3'): ids_get returns expected data structure ───── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids::ids_get(...) at test-ids_get.R:542:3 2. └─wbids:::get_debt_statistics(...) 3. └─wbids:::perform_request(resource, progress = progress_message) 4. └─httr2::req_perform(req) 5. └─httr2:::handle_resp(req, resp, error_call = error_call) 6. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 7. ├─rlang::catch_cnd(...) 8. │ ├─rlang::eval_bare(...) 9. │ ├─base::tryCatch(...) 10. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ └─base::force(expr) 14. └─rlang::abort(...) ── Error ('test-ids_get.R:592:3'): ids_get handles pre-1970 dates correctly ──── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-ids_get.R:592: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::ids_get(...) 8. └─wbids:::get_debt_statistics(...) 9. └─wbids:::perform_request(resource, progress = progress_message) 10. └─httr2::req_perform(req) 11. └─httr2:::handle_resp(req, resp, error_call = error_call) 12. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 13. ├─rlang::catch_cnd(...) 14. │ ├─rlang::eval_bare(...) 15. │ ├─base::tryCatch(...) 16. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ └─base::force(expr) 20. └─rlang::abort(...) ── Error ('test-perform_request.R:15:7'): perform_request handles error responses ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-perform_request.R:10:3 2. ├─testthat::expect_error(perform_request("indicators"), "API error: Invalid indicator") at test-perform_request.R:15:7 3. │ └─testthat:::expect_condition_matching(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─wbids:::perform_request("indicators") 9. └─httr2::req_perform(req) 10. └─httr2:::handle_resp(req, resp, error_call = error_call) 11. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 12. ├─rlang::catch_cnd(...) 13. │ ├─rlang::eval_bare(...) 14. │ ├─base::tryCatch(...) 15. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 16. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 18. │ └─base::force(expr) 19. └─rlang::abort(...) ── Error ('test-perform_request.R:23:3'): perform_request validates per_page parameter ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::expect_silent(perform_request("series", per_page = 1000)) at test-perform_request.R:23:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─wbids:::perform_request("series", per_page = 1000) 10. └─httr2::req_perform(req) 11. └─httr2:::handle_resp(req, resp, error_call = error_call) 12. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 13. ├─rlang::catch_cnd(...) 14. │ ├─rlang::eval_bare(...) 15. │ ├─base::tryCatch(...) 16. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. │ └─base::force(expr) 20. └─rlang::abort(...) ── Error ('test-perform_request.R:63:3'): perform_request handles API errors gracefully ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. 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-perform_request.R:77:7'): perform_request handles wrong requests gracefully ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. ├─testthat::with_mocked_bindings(...) at test-perform_request.R:74:3 2. ├─testthat::expect_error(...) at test-perform_request.R:77:7 3. │ └─testthat:::expect_condition_matching(...) 4. │ └─testthat:::quasi_capture(...) 5. │ ├─testthat (local) .capture(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─wbids:::perform_request("country") 9. └─httr2::req_perform(req) 10. └─httr2:::handle_resp(req, resp, error_call = error_call) 11. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 12. ├─rlang::catch_cnd(...) 13. │ ├─rlang::eval_bare(...) 14. │ ├─base::tryCatch(...) 15. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 16. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 17. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 18. │ └─base::force(expr) 19. └─rlang::abort(...) ── Error ('test-perform_request.R:110:3'): perform_request handles pagination correctly ── <httr2_http_502/httr2_http/httr2_error/rlang_error/rlang_error/error/condition> Error in `httr2::req_perform(req)`: HTTP 502 Bad Gateway. Backtrace: ▆ 1. └─wbids:::perform_request(...) at test-perform_request.R:110:3 2. └─httr2::req_perform(req) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_failure_cnd(req, resp, error_call = error_call) 5. ├─rlang::catch_cnd(...) 6. │ ├─rlang::eval_bare(...) 7. │ ├─base::tryCatch(...) 8. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ └─base::force(expr) 12. └─rlang::abort(...) [ FAIL 16 | WARN 0 | SKIP 7 | PASS 114 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

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.
Health stats visible at Monitor.