CRAN Package Check Results for Package worldbank

Last updated on 2024-07-23 18:59:15 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.42 37.60 40.02 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 2.59 29.16 31.75 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 52.70 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 48.70 OK
r-devel-windows-x86_64 0.1.0 4.00 52.00 56.00 OK
r-patched-linux-x86_64 0.1.0 3.69 35.78 39.47 OK
r-release-linux-x86_64 0.1.0 3.06 36.96 40.02 OK
r-release-macos-arm64 0.1.0 25.00 OK
r-release-macos-x86_64 0.1.0 50.00 OK
r-release-windows-x86_64 0.1.0 4.00 53.00 57.00 OK
r-oldrel-macos-arm64 0.1.0 32.00 OK
r-oldrel-macos-x86_64 0.1.0 40.00 OK
r-oldrel-windows-x86_64 0.1.0 5.00 56.00 61.00 OK

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘worldbank-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: wb_country > ### Title: World Bank country data > ### Aliases: wb_country > > ### ** Examples > > wb_country() Error in `req_perform()`: ! Failed to parse error body with method defined in `req_error()`. Caused by error in `resp_body_json()`: ! Unexpected content type "text/html". • Expecting type "application/json" or suffix "json". Backtrace: ▆ 1. └─worldbank::wb_country() 2. └─worldbank:::worldbank(resource) 3. ├─httr2::resp_body_json(...) 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:::error_body(req, resp, error_call) 9. ├─rlang::try_fetch(...) 10. │ ├─base::tryCatch(...) 11. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ └─base::withCallingHandlers(...) 15. └─httr2:::req_policy_call(req, "error_body", list(resp), default = NULL) 16. ├─rlang::exec(req$policies[[name]], !!!args) 17. └─worldbank (local) `<fn>`(`<httr2_rs>`) 18. └─httr2::resp_body_json(resp) 19. └─httr2::resp_check_content_type(...) 20. └─httr2:::check_content_type(...) 21. └─cli::cli_abort(...) 22. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-clang