Last updated on 2025-11-19 09:48:41 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 4.97 | 61.84 | 66.81 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 3.44 | 45.22 | 48.66 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 15.00 | 83.86 | 98.86 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 12.00 | 95.51 | 107.51 | OK | |
| r-devel-windows-x86_64 | 0.2.0 | 12.00 | 74.00 | 86.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 5.97 | 55.00 | 60.97 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 4.99 | 55.16 | 60.15 | OK | |
| r-release-macos-arm64 | 0.2.0 | 2.00 | 41.00 | 43.00 | OK | |
| r-release-macos-x86_64 | 0.2.0 | 5.00 | 76.00 | 81.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 8.00 | 74.00 | 82.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | 2.00 | 51.00 | 53.00 | OK | |
| r-oldrel-macos-x86_64 | 0.2.0 | 5.00 | 81.00 | 86.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 9.00 | 91.00 | 100.00 | OK |
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 get_mexico_holidays(2024) :
Failed to retrieve data from Nager.Date API. Check the year or try again later.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/5s]
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_mexico_holidays-24.R
Saving _problems/test-get_mexico_holidays-42.R
Datasets available in the 'MexicoDataAPI' package:
Datasets available in the 'MexicoDataAPI' package:
[ FAIL 2 | WARN 0 | SKIP 22 | PASS 153 ]
══ 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_mexico_holidays.R:24:3'): get_mexico_holidays() returns a tibble with correct structure ──
Error in `get_mexico_holidays(2025)`: Failed to retrieve data from Nager.Date API. Check the year or try again later.
Backtrace:
▆
1. └─MexicoDataAPI::get_mexico_holidays(2025) at test-get_mexico_holidays.R:24:3
── Error ('test-get_mexico_holidays.R:42:3'): get_mexico_holidays() returns consistent data for multiple years ──
Error in `get_mexico_holidays(2024)`: Failed to retrieve data from Nager.Date API. Check the year or try again later.
Backtrace:
▆
1. └─MexicoDataAPI::get_mexico_holidays(2024) at test-get_mexico_holidays.R:42:3
[ FAIL 2 | WARN 0 | SKIP 22 | PASS 153 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc