Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [17s/537s]
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(ColOpenData)
  > 
  > test_check("ColOpenData")
  Original data is retrieved from the Institute of Hydrology, Meteorology
  and Environmental Studies (Instituto de Hidrología, Meteorología y
  Estudios Ambientales - IDEAM).
  Reformatted by package authors.
  Stored by Universidad de Los Andes under the Epiverse TRACE iniative.
  Original data is retrieved from the Institute of Hydrology, Meteorology
  and Environmental Studies (Instituto de Hidrología, Meteorología y
  Estudios Ambientales - IDEAM).
  Reformatted by package authors.
  Stored by Universidad de Los Andes under the Epiverse TRACE iniative.
  Original data is retrieved from the Institute of Hydrology, Meteorology
  and Environmental Studies (Instituto de Hidrología, Meteorología y
  Estudios Ambientales - IDEAM).
  Reformatted by package authors.
  Stored by Universidad de Los Andes under the Epiverse TRACE iniative.
  Original data is retrieved from the Institute of Hydrology, Meteorology
  and Environmental Studies (Instituto de Hidrología, Meteorología y
  Estudios Ambientales - IDEAM).
  Reformatted by package authors.
  Stored by Universidad de Los Andes under the Epiverse TRACE iniative.
  Original data is retrieved from the Institute of Hydrology, Meteorology
  and Environmental Studies (Instituto de Hidrología, Meteorología y
  Estudios Ambientales - IDEAM).
  Reformatted by package authors.
  Stored by Universidad de Los Andes under the Epiverse TRACE iniative.
  [ FAIL 6 | WARN 0 | SKIP 7 | PASS 59 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-aggregate_climate.R:88:3',
    'test-aggregate_climate.R:135:3', 'test-documentation.R:17:3',
    'test-documentation.R:36:3', 'test-documentation.R:49:3',
    'test-documentation.R:81:3', 'test-download_demographic.R:14:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-aggregate_climate.R:132:3'): Aggregation for precipitation works as expected ──
  dim(aggregate_climate(base_ptpm, "year")) (`actual`) not equal to c(8, 6) (`expected`).
  
    `actual`: 7 6
  `expected`: 8 6
  ── Error ('test-download_climate.R:14:1'): (code run outside of `test_that()`) ──
  Error in `scan(file = file, what = what, sep = sep, quote = quote, dec = dec, 
      nmax = nrows, skip = 0, na.strings = na.strings, quiet = TRUE, 
      fill = fill, strip.white = strip.white, blank.lines.skip = blank.lines.skip, 
      multi.line = FALSE, comment.char = comment.char, allowEscapes = allowEscapes, 
      flush = flush, encoding = encoding, skipNul = skipNul)`: cannot read from connection
  Backtrace:
      ▆
   1. └─ColOpenData::stations_in_roi(apicala) at test-download_climate.R:14:1
   2.   └─ColOpenData:::retrieve_table(data_path, ";")
   3.     ├─base::suppressMessages(...)
   4.     │ └─base::withCallingHandlers(...)
   5.     ├─base::suppressWarnings(...)
   6.     │ └─base::withCallingHandlers(...)
   7.     └─utils::read.csv2(...)
   8.       └─utils::read.table(...)
   9.         └─base::scan(...)
  ── Error ('test-download_geospatial.R:19:3'): Download geospatial works as expected ──
  <Rcpp::exception/C++Error/error/condition>
  Error: Cannot open "https://tracelac.uniandes.edu.co:9000/colopendata/geospatial/mgn/DANE_MGN_2018_DPTO_SIM.gpkg"; Check connection parameters.
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-download_geospatial.R:19:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-download_geospatial.R:29:3'): Download geospatial works as expected with different parameters ──
  <Rcpp::exception/C++Error/error/condition>
  Error: Cannot open "https://tracelac.uniandes.edu.co:9000/colopendata/geospatial/mgn/DANE_MGN_2018_DPTO_SIM.gpkg"; Check connection parameters.
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-download_geospatial.R:29:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-download_population_projections.R:32:3'): Download pop_projections works as expected ──
  Error in `file(file, "rt", encoding = fileEncoding)`: cannot open the connection to 'https://tracelac.uniandes.edu.co:9000/colopendata/population_projections/population_projections/DANE_PP_1985_2050_AD.csv'
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-download_population_projections.R:32:3
   2.   └─rlang::cnd_signal(state$error)
  ── Error ('test-merge_geo_demographic.R:8:3'): Merge geospatial and demographic works as expected ──
  Error in `file(file, "rt", encoding = fileEncoding)`: cannot open the connection to 'https://tracelac.uniandes.edu.co:9000/colopendata/demographic/cnpv/hogares/DANE_CNPVH_2018_1HD.csv'
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(merge_geo_demographic("DANE_CNPVH_2018_1HD")) at test-merge_geo_demographic.R:8:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 6 | WARN 0 | SKIP 7 | PASS 59 ]
  Error: Test failures
  Execution halted