Running 'testthat.R' [18s]
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(ArgentinAPI)
  > 
  > test_check("ArgentinAPI")
  Saving _problems/test-get_argentine_senators-49.R
  Saving _problems/test-get_argentinian_holidays-24.R
  Datasets available in the 'ArgentinAPI' package:
  Datasets available in the 'ArgentinAPI' package:
  [ FAIL 2 | WARN 0 | SKIP 36 | PASS 254 ]
  
  ══ Skipped tests (36) ══════════════════════════════════════════════════════════
  • On CRAN (36): 'test-get_argentina_child_mortality.R:24:3',
    'test-get_argentina_child_mortality.R:42:3',
    'test-get_argentina_child_mortality.R:52:3',
    'test-get_argentina_energy_use.R:23:3',
    'test-get_argentina_energy_use.R:41:3',
    'test-get_argentina_energy_use.R:51:3', 'test-get_argentina_gdp.R:23:3',
    'test-get_argentina_gdp.R:47:3', 'test-get_argentina_hospital_beds.R:24:3',
    'test-get_argentina_hospital_beds.R:36:3',
    'test-get_argentina_hospital_beds.R:46:3',
    'test-get_argentina_hospital_beds.R:54:3',
    'test-get_argentina_hospital_beds.R:62:3',
    'test-get_argentina_hospital_beds.R:69:3',
    'test-get_argentina_life_expectancy.R:24:3',
    'test-get_argentina_life_expectancy.R:36:3',
    'test-get_argentina_life_expectancy.R:46:3',
    'test-get_argentina_life_expectancy.R:54:3',
    'test-get_argentina_life_expectancy.R:62:3',
    'test-get_argentina_life_expectancy.R:69:3',
    'test-get_argentina_population.R:24:3',
    'test-get_argentina_population.R:35:3',
    'test-get_argentina_population.R:46:3',
    'test-get_argentina_population.R:54:3',
    'test-get_argentina_population.R:62:3',
    'test-get_argentina_population.R:69:3',
    'test-get_argentina_population.R:77:3',
    'test-get_argentina_unemployment.R:23:3',
    'test-get_argentina_unemployment.R:34:3',
    'test-get_argentina_unemployment.R:44:3',
    'test-get_argentina_unemployment.R:53:3',
    'test-get_argentina_unemployment.R:61:3',
    'test-get_argentina_unemployment.R:68:3', 'test-get_country_info_ar.R:23:3',
    'test-get_country_info_ar.R:50:3', 'test-get_country_info_ar.R:75:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_argentine_senators.R:49:3'): get_argentine_senators() returns a valid tibble with correct structure ──
  Expected `all(diff(as.numeric(result$inicio)) <= 0)` to be TRUE.
  Differences:
  `actual`:   <NA>
  `expected`: TRUE
  
  ── Error ('test-get_argentinian_holidays.R:24:3'): get_argentinian_holidays() returns a valid tibble with correct structure ──
  Error in `get_argentinian_holidays()`: Year must be an integer between 2016 and 2025.
  Backtrace:
      ▆
   1. └─ArgentinAPI::get_argentinian_holidays() at test-get_argentinian_holidays.R:24:3
  
  [ FAIL 2 | WARN 0 | SKIP 36 | PASS 254 ]
  Error:
  ! Test failures.
  Execution halted