CRAN Package Check Results for Package MexicoDataAPI

Last updated on 2026-04-30 16:54:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 5.45 66.89 72.34 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 4.04 47.95 51.99 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 9.00 99.18 108.18 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 9.00 98.89 107.89 OK
r-devel-windows-x86_64 0.2.0 9.00 150.00 159.00 OK
r-patched-linux-x86_64 0.2.0 4.81 55.43 60.24 OK
r-release-linux-x86_64 0.2.0 5.19 55.55 60.74 OK
r-release-macos-arm64 0.2.0 1.00 26.00 27.00 OK
r-release-macos-x86_64 0.2.0 4.00 80.00 84.00 OK
r-release-windows-x86_64 0.2.0 7.00 83.00 90.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 4.00 77.00 81.00 OK
r-oldrel-windows-x86_64 0.2.0 10.00 95.00 105.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/24s] 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(MexicoDataAPI) > > test_check("MexicoDataAPI") Saving _problems/test-get_country_info_mx-24.R Saving _problems/test-get_country_info_mx-45.R Datasets available in the 'MexicoDataAPI' package: Datasets available in the 'MexicoDataAPI' package: [ FAIL 2 | WARN 0 | SKIP 22 | PASS 149 ] ══ Skipped tests (22) ══════════════════════════════════════════════════════════ • On CRAN (22): 'test-get_mexico_cpi.R:24:3', 'test-get_mexico_cpi.R:52:3', 'test-get_mexico_gdp.R:24:3', 'test-get_mexico_life_expectancy.R:24:3', 'test-get_mexico_life_expectancy.R:40:3', 'test-get_mexico_life_expectancy.R:50:3', 'test-get_mexico_literacy_rate.R:24:3', 'test-get_mexico_literacy_rate.R:44:3', 'test-get_mexico_literacy_rate.R:51:3', 'test-get_mexico_literacy_rate.R:58:3', 'test-get_mexico_population.R:25:3', 'test-get_mexico_population.R:46:3', 'test-get_mexico_population.R:53:3', 'test-get_mexico_population.R:60:3', 'test-get_mexico_population.R:67:3', 'test-get_mexico_population.R:75:3', 'test-get_mexico_unemployment.R:24:3', 'test-get_mexico_unemployment.R:44:3', 'test-get_mexico_unemployment.R:51:3', 'test-get_mexico_unemployment.R:58:3', 'test-get_mexico_unemployment.R:65:3', 'test-get_mexico_unemployment.R:73:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_country_info_mx.R:24:3'): get_country_info_mx() returns a tibble with correct structure ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─MexicoDataAPI::get_country_info_mx() at test-get_country_info_mx.R:24:3 2. │ └─httr::GET(url) 3. │ └─httr:::request_perform(req, hu$handle$handle) 4. │ ├─httr:::request_fetch(req$output, req$url, handle) 5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 6. │ └─curl::curl_fetch_memory(url, handle = handle) 7. └─curl:::raise_libcurl_error(...) ── Error ('test-get_country_info_mx.R:45:3'): get_country_info_mx() returns data for Mexico ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [restcountries.com]: Connection timed out after 10002 milliseconds Backtrace: ▆ 1. ├─MexicoDataAPI::get_country_info_mx() at test-get_country_info_mx.R:45:3 2. │ └─httr::GET(url) 3. │ └─httr:::request_perform(req, hu$handle$handle) 4. │ ├─httr:::request_fetch(req$output, req$url, handle) 5. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 6. │ └─curl::curl_fetch_memory(url, handle = handle) 7. └─curl:::raise_libcurl_error(...) [ FAIL 2 | WARN 0 | SKIP 22 | PASS 149 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc