CRAN Package Check Results for Package MexicoDataAPI

Last updated on 2025-09-22 10:48:38 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 5.86 61.39 67.25 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.31 43.36 46.67 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 100.03 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 113.27 OK
r-devel-windows-x86_64 0.2.0 7.00 90.00 97.00 OK
r-patched-linux-x86_64 0.2.0 5.41 54.79 60.20 OK
r-release-linux-x86_64 0.2.0 5.02 54.24 59.26 OK
r-release-macos-arm64 0.2.0 43.00 OK
r-release-macos-x86_64 0.2.0 81.00 OK
r-release-windows-x86_64 0.2.0 7.00 73.00 80.00 OK
r-oldrel-macos-arm64 0.2.0 53.00 OK
r-oldrel-macos-x86_64 0.2.0 86.00 OK
r-oldrel-windows-x86_64 0.2.0 9.00 89.00 98.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘MexicoDataAPI-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: get_mexico_holidays > ### Title: Get Official Public Holidays in Mexico for a Given Year > ### Aliases: get_mexico_holidays > > ### ** Examples > > get_mexico_holidays(2024) Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached [date.nager.at]: Resolving timed out after 10000 milliseconds Calls: get_mexico_holidays ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/44s] 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") Datasets available in the 'MexicoDataAPI' package: Datasets available in the 'MexicoDataAPI' package: [ FAIL 4 | WARN 0 | SKIP 22 | PASS 138 ] ══ 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]: Resolving timed out after 10000 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]: Resolving timed out after 10000 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(...) ── Error ('test-get_mexico_holidays.R:24:3'): get_mexico_holidays() 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 [date.nager.at]: Resolving timed out after 10001 milliseconds Backtrace: ▆ 1. ├─MexicoDataAPI::get_mexico_holidays(2025) at test-get_mexico_holidays.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_mexico_holidays.R:42:3'): get_mexico_holidays() returns consistent data for multiple years ── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached [date.nager.at]: Resolving timed out after 10000 milliseconds Backtrace: ▆ 1. ├─MexicoDataAPI::get_mexico_holidays(2024) at test-get_mexico_holidays.R:42: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 4 | WARN 0 | SKIP 22 | PASS 138 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc