Running 'testthat.R' [37s]
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(ColombiAPI)
  > 
  > test_check("ColombiAPI")
  World Bank API request failed: Timeout was reached [api.worldbank.org]:
  Operation timed out after 10002 milliseconds with 0 bytes received
  `year` must be a single numeric value.
  `year` must be a single numeric value.
  `year` must be a single numeric value.
  Nager.Date API returned status: 400
  Nager.Date API returned status: 400
  Saving _problems/test-get_country_info_co-22.R
  Datasets available in the 'ColombiAPI' package:
  Datasets available in the 'ColombiAPI' package:
  [ FAIL 1 | WARN 0 | SKIP 45 | PASS 864 ]
  
  ══ Skipped tests (45) ══════════════════════════════════════════════════════════
  • Function returned NULL (6): 'test-get_colombia_energy_use.R:25:3',
    'test-get_colombia_energy_use.R:37:3', 'test-get_colombia_energy_use.R:46:3',
    'test-get_colombia_energy_use.R:59:3', 'test-get_colombia_energy_use.R:66:3',
    'test-get_colombia_energy_use.R:77:3'
  • On CRAN (39): 'test-get_colombia_airports.R:24:3',
    'test-get_colombia_airports.R:36:3', 'test-get_colombia_airports.R:51:3',
    'test-get_colombia_airports.R:60:3', 'test-get_colombia_airports.R:68:3',
    'test-get_colombia_airports.R:80:3', 'test-get_colombia_airports.R:92:3',
    'test-get_colombia_airports.R:104:3', 'test-get_colombia_airports.R:112:3',
    'test-get_colombia_airports.R:121:3', 'test-get_colombia_airports.R:142:3',
    'test-get_colombia_airports.R:156:3', 'test-get_colombia_airports.R:166:3',
    'test-get_colombia_airports.R:176:3', 'test-get_colombia_airports.R:186:3',
    'test-get_colombia_airports.R:198:3', 'test-get_colombia_attractions.R:24:3',
    'test-get_colombia_attractions.R:35:3',
    'test-get_colombia_attractions.R:47:3',
    'test-get_colombia_attractions.R:55:3',
    'test-get_colombia_attractions.R:66:3',
    'test-get_colombia_attractions.R:75:3',
    'test-get_colombia_attractions.R:84:3',
    'test-get_colombia_attractions.R:101:3',
    'test-get_colombia_attractions.R:113:3',
    'test-get_colombia_attractions.R:123:3',
    'test-get_colombia_attractions.R:133:3',
    'test-get_colombia_attractions.R:142:3',
    'test-get_colombia_attractions.R:152:3',
    'test-get_colombia_attractions.R:163:3',
    'test-get_colombia_attractions.R:171:3',
    'test-get_colombia_attractions.R:185:3',
    'test-get_colombia_child_mortality.R:23:3',
    'test-get_colombia_child_mortality.R:38:3',
    'test-get_colombia_child_mortality.R:47:3',
    'test-get_colombia_child_mortality.R:55:3',
    'test-get_colombia_child_mortality.R:63:3',
    'test-get_colombia_child_mortality.R:71:3',
    'test-get_colombia_child_mortality.R:79:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_country_info_co.R:22:1'): (code run outside of `test_that()`) ──
  Error in `data_list[1, ]`: incorrect number of dimensions
  Backtrace:
      ▆
   1. └─ColombiAPI::get_country_info_co() at test-get_country_info_co.R:22:1
  
  [ FAIL 1 | WARN 0 | SKIP 45 | PASS 864 ]
  Error:
  ! Test failures.
  Execution halted