CRAN Package Check Results for Package wbwdi

Last updated on 2026-03-25 22:53:17 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.80 53.50 58.30 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 3.23 36.73 39.96 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.3 7.00 79.01 86.01 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 95.16 OK
r-devel-macos-arm64 1.0.3 1.00 25.00 26.00 OK
r-devel-windows-x86_64 1.0.3 6.00 81.00 87.00 OK
r-patched-linux-x86_64 1.0.3 4.92 47.92 52.84 OK
r-release-linux-x86_64 1.0.3 4.29 47.18 51.47 OK
r-release-macos-arm64 1.0.3 1.00 22.00 23.00 OK
r-release-macos-x86_64 1.0.3 3.00 90.00 93.00 OK
r-release-windows-x86_64 1.0.3 6.00 79.00 85.00 OK
r-oldrel-macos-arm64 1.0.3 1.00 28.00 29.00 OK
r-oldrel-macos-x86_64 1.0.3 3.00 109.00 112.00 OK
r-oldrel-windows-x86_64 1.0.3 9.00 97.00 106.00 OK

Check Details

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/106s] 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(wbwdi) > > test_check("wbwdi") ! Failed to retrieve data from the World Bank API for request https://localhost:9999/countries?format=json&per_page=10000. Error message: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Could not connect to server [localhost]: Failed to connect to localhost port 9999 after 0 ms: Could not connect to server ! Failed to retrieve data from the World Bank API for request https://localhost:9999/countries?format=json&per_page=10000. Error message: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Could not connect to server [localhost]: Failed to connect to localhost port 9999 after 0 ms: Could not connect to server ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/country/USA/indicator/NY.GDP.MKTP.CD?format=json&per_page=10000&date=%3A. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get-8.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/countries/all?format=json&per_page=1000. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_entities-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/indicators?format=json&per_page=32500. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_indicators-4.R [ FAIL 3 | WARN 0 | SKIP 33 | PASS 126 ] ══ Skipped tests (33) ══════════════════════════════════════════════════════════ • On CRAN (33): 'tests-perform_request.R:26:3', 'tests-perform_request.R:40:3', 'tests-perform_request.R:52:3', 'tests-perform_request.R:65:3', 'tests-perform_request.R:77:3', 'tests-perform_request.R:96:3', 'tests-perform_request.R:108:3', 'tests-perform_request.R:120:3', 'tests-perform_request.R:132:3', 'tests-perform_request.R:159:3', 'tests-perform_request.R:181:3', 'tests-perform_request.R:197:3', 'tests-perform_request.R:241:3', 'tests-wdi_get.R:60:3', 'tests-wdi_get.R:78:3', 'tests-wdi_get.R:97:3', 'tests-wdi_get.R:104:3', 'tests-wdi_get.R:114:3', 'tests-wdi_get.R:124:3', 'tests-wdi_get.R:154:3', 'tests-wdi_get_entities.R:20:3', 'tests-wdi_get_entities.R:94:3', 'tests-wdi_get_income_levels.R:2:3', 'tests-wdi_get_income_levels.R:33:3', 'tests-wdi_get_indicators.R:20:3', 'tests-wdi_get_indicators.R:69:3', 'tests-wdi_get_languages.R:2:3', 'tests-wdi_get_lending_types.R:8:3', 'tests-wdi_get_lending_types.R:64:3', 'tests-wdi_get_regions.R:8:3', 'tests-wdi_get_regions.R:80:3', 'tests-wdi_get_topics.R:8:3', 'tests-wdi_get_topics.R:71:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('tests-wdi_get.R:2:3'): wdi_get_handles invalid language input ───── Expected `wdi_get(entities = "USA", indicators = "NY.GDP.MKTP.CD", language = "xx")` to throw a error. ── Failure ('tests-wdi_get_entities.R:2:3'): wdi_get_entities handles invalid language input ── Expected `wdi_get_entities(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_indicators.R:2:3'): wdi_get_indicators handles ivalid language input ── Expected `wdi_get_indicators(language = "xx")` to throw a error. [ FAIL 3 | WARN 0 | SKIP 33 | PASS 126 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc