CRAN Package Check Results for Package wbwdi

Last updated on 2026-04-10 08:51:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 4.34 55.01 59.35 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 3.03 40.13 43.16 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 8.00 79.84 87.84 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 94.98 OK
r-devel-macos-arm64 1.0.3 1.00 29.00 30.00 OK
r-devel-windows-x86_64 1.0.3 7.00 88.00 95.00 OK
r-patched-linux-x86_64 1.0.3 4.80 48.67 53.47 ERROR
r-release-linux-x86_64 1.0.3 4.55 47.29 51.84 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 82.00 88.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 98.00 107.00 OK

Check Details

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/122s] 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 [ FAIL 1 | WARN 0 | SKIP 33 | PASS 128 ] ══ 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. [ FAIL 1 | WARN 0 | SKIP 33 | PASS 128 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64