CRAN Package Check Results for Package wbwdi

Last updated on 2025-12-04 09:50:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.52 52.10 56.62 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 3.48 37.94 41.42 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.3 11.00 75.51 86.51 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 11.00 84.04 95.04 OK
r-devel-windows-x86_64 1.0.3 7.00 77.00 84.00 OK
r-patched-linux-x86_64 1.0.3 3.98 45.80 49.78 ERROR
r-release-linux-x86_64 1.0.3 4.44 47.63 52.07 OK
r-release-macos-arm64 1.0.3 1.00 22.00 23.00 OK
r-release-macos-x86_64 1.0.3 6.00 87.00 93.00 OK
r-release-windows-x86_64 1.0.3 7.00 80.00 87.00 OK
r-oldrel-macos-arm64 1.0.3 1.00 28.00 29.00 OK
r-oldrel-macos-x86_64 1.0.3 7.00 105.00 112.00 OK
r-oldrel-windows-x86_64 1.0.3 9.00 94.00 103.00 OK

Check Details

Version: 1.0.3
Check: examples
Result: ERROR Running examples in ‘wbwdi-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: wdi_get_languages > ### Title: Download languages from the World Bank API > ### Aliases: wdi_get_languages > > ### ** Examples > > ## Don't show: > if (curl::has_internet()) withAutoprint({ # examplesIf + ## End(Don't show) + # Download all languages + wdi_get_languages() + ## Don't show: + }) # examplesIf > wdi_get_languages() ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/languages?format=json&per_page=10000. Error message: HTTP 502 Bad Gateway. Error in wdi_get_languages() : object 'languages_processed' not found Calls: withAutoprint ... source -> withVisible -> eval -> eval -> wdi_get_languages Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/8s] 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 ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/lendingTypes?format=json&per_page=10000. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_lending_types-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/region?format=json&per_page=10000. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_regions-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/sources?format=json&per_page=10000. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_sources-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/topics?format=json&per_page=10000. Error message: HTTP 502 Bad Gateway. Saving _problems/tests-wdi_get_topics-4.R [ FAIL 7 | WARN 0 | SKIP 33 | PASS 122 ] ══ 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. ── Failure ('tests-wdi_get_lending_types.R:2:3'): wdi_get_lending_types handles invalid language input ── Expected `wdi_get_lending_types(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_regions.R:2:3'): wdi_get_regions handles invalid language input ── Expected `wdi_get_regions(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_sources.R:2:3'): wdi_get_sources handles invalid language input ── Expected `wdi_get_sources(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_topics.R:2:3'): wdi_get_topics handles invalid language input ── Expected `wdi_get_topics(language = "xx")` to throw a error. [ FAIL 7 | WARN 0 | SKIP 33 | PASS 122 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.3
Check: examples
Result: ERROR Running examples in ‘wbwdi-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: wdi_get_languages > ### Title: Download languages from the World Bank API > ### Aliases: wdi_get_languages > > ### ** Examples > > ## Don't show: > if (curl::has_internet()) withAutoprint({ # examplesIf + ## End(Don't show) + # Download all languages + wdi_get_languages() + ## Don't show: + }) # examplesIf > wdi_get_languages() ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/languages?format=json&per_page=10000. Error message: HTTP 401 Unauthorized. Error in wdi_get_languages() : object 'languages_processed' not found Calls: withAutoprint ... source -> withVisible -> eval -> eval -> wdi_get_languages Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/11s] 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 401 Unauthorized. 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 401 Unauthorized. 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 401 Unauthorized. Saving _problems/tests-wdi_get_indicators-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/lendingTypes?format=json&per_page=10000. Error message: HTTP 401 Unauthorized. Saving _problems/tests-wdi_get_lending_types-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/region?format=json&per_page=10000. Error message: HTTP 401 Unauthorized. Saving _problems/tests-wdi_get_regions-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/sources?format=json&per_page=10000. Error message: HTTP 401 Unauthorized. Saving _problems/tests-wdi_get_sources-4.R ! Failed to retrieve data from the World Bank API for request https://api.worldbank.org/v2/xx/topics?format=json&per_page=10000. Error message: HTTP 401 Unauthorized. Saving _problems/tests-wdi_get_topics-4.R [ FAIL 7 | WARN 0 | SKIP 33 | PASS 122 ] ══ 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. ── Failure ('tests-wdi_get_lending_types.R:2:3'): wdi_get_lending_types handles invalid language input ── Expected `wdi_get_lending_types(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_regions.R:2:3'): wdi_get_regions handles invalid language input ── Expected `wdi_get_regions(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_sources.R:2:3'): wdi_get_sources handles invalid language input ── Expected `wdi_get_sources(language = "xx")` to throw a error. ── Failure ('tests-wdi_get_topics.R:2:3'): wdi_get_topics handles invalid language input ── Expected `wdi_get_topics(language = "xx")` to throw a error. [ FAIL 7 | WARN 0 | SKIP 33 | PASS 122 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-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.