Last updated on 2026-04-24 06:53:07 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 5.13 | 60.76 | 65.89 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 3.87 | 48.97 | 52.84 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 10.00 | 92.56 | 102.56 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 9.00 | 98.89 | 107.89 | OK | |
| r-devel-macos-arm64 | 0.2.0 | 1.00 | 27.00 | 28.00 | OK | |
| r-devel-windows-x86_64 | 0.2.0 | 7.00 | 79.00 | 86.00 | ERROR | |
| r-patched-linux-x86_64 | 0.2.0 | 5.52 | 57.05 | 62.57 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 4.94 | 53.27 | 58.21 | OK | |
| r-release-macos-arm64 | 0.2.0 | OK | ||||
| r-release-macos-x86_64 | 0.2.0 | 4.00 | 77.00 | 81.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 9.00 | 75.00 | 84.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | OK | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 4.00 | 82.00 | 86.00 | OK | |
| r-oldrel-windows-x86_64 | 0.2.0 | 11.00 | 110.00 | 121.00 | OK |
Version: 0.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [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")
API request failed.
Saving _problems/test-get_country_info_mx-26.R
Saving _problems/test-get_country_info_mx-27.R
Saving _problems/test-get_country_info_mx-32.R
Saving _problems/test-get_country_info_mx-34.R
Saving _problems/test-get_country_info_mx-35.R
Saving _problems/test-get_country_info_mx-36.R
Saving _problems/test-get_country_info_mx-37.R
Saving _problems/test-get_country_info_mx-38.R
Saving _problems/test-get_country_info_mx-39.R
Saving _problems/test-get_country_info_mx-40.R
Saving _problems/test-get_country_info_mx-41.R
API request failed.
Saving _problems/test-get_country_info_mx-47.R
Saving _problems/test-get_country_info_mx-48.R
Saving _problems/test-get_country_info_mx-49.R
Saving _problems/test-get_country_info_mx-50.R
Datasets available in the 'MexicoDataAPI' package:
Datasets available in the 'MexicoDataAPI' package:
[ FAIL 15 | 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 ════════════════════════════════════════════════════════════════
── Failure ('test-get_country_info_mx.R:26:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result` to be an S3 object.
Actual OO type: none.
── Failure ('test-get_country_info_mx.R:27:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `nrow(result)` to equal 1.
Differences:
`actual` is NULL
`expected` is a double vector (1)
── Failure ('test-get_country_info_mx.R:28:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result` to have names `c(...)`.
Differences:
`actual` is NULL
`expected` is a character vector ('name_common', 'name_official', 'region', 'subregion', 'capital', ...)
── Failure ('test-get_country_info_mx.R:34:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$name_common` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:35:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$name_official` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:36:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$region` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:37:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$subregion` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:38:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$capital` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:39:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `is.numeric(result$area)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_country_info_mx.R:40:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `is.numeric(result$population)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-get_country_info_mx.R:41:3'): get_country_info_mx() returns a tibble with correct structure ──
Expected `result$languages` to have type "character".
Actual type: "NULL"
── Failure ('test-get_country_info_mx.R:47:3'): get_country_info_mx() returns data for Mexico ──
Expected `result$name_common` to equal "Mexico".
Differences:
`actual` is NULL
`expected` is a character vector ('Mexico')
── Failure ('test-get_country_info_mx.R:48:3'): get_country_info_mx() returns data for Mexico ──
Expected `result$capital` to equal "Mexico City".
Differences:
`actual` is NULL
`expected` is a character vector ('Mexico City')
── Failure ('test-get_country_info_mx.R:49:3'): get_country_info_mx() returns data for Mexico ──
Expected `result$region` to equal "Americas".
Differences:
`actual` is NULL
`expected` is a character vector ('Americas')
── Failure ('test-get_country_info_mx.R:50:3'): get_country_info_mx() returns data for Mexico ──
Expected `result$subregion` to equal "North America".
Differences:
`actual` is NULL
`expected` is a character vector ('North America')
[ FAIL 15 | WARN 0 | SKIP 22 | PASS 149 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64