Running ‘testthat.R’ [4s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eph)
  > 
  > test_check("eph")
  ── Skip (test-get_microdata.R:5:3): EPH punutal ────────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-get_microdata.R:14:3): EPH continua ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-get_microdata.R:29:3): muchas bases ──────────────────────────────
  Reason: On CRAN
  
  trying URL 'https://www.indec.gob.ar/ftp/cuadros/sociedad/serie_cba_cbt.xls'
  ── Warning (test-get_poverty_lines.R:5:3): test GBA ────────────────────────────
  URL 'https://www.indec.gob.ar/ftp/cuadros/sociedad/serie_cba_cbt.xls': status was 'SSL connect error'
  
  ── ERROR (test-get_poverty_lines.R:5:3): test GBA ──────────────────────────────
  Error: cannot open URL 'https://www.indec.gob.ar/ftp/cuadros/sociedad/serie_cba_cbt.xls'
  Backtrace:
      █
   1. └─eph::get_poverty_lines() test-get_poverty_lines.R:5:2
   2.   └─utils::download.file(dataURL, destfile = temp, mode = "wb")
  
  trying URL 'https://github.com/holatam/data/raw/master/eph/canasta/canastas.rds'
  Content type 'application/octet-stream' length 1769 bytes
  ==================================================
  downloaded 1769 bytes
  
  ── Warning (test-organize_labels.R:11:3): labels individual ────────────────────
  You are trying to put value labels on factor. It can lead to unexpected results. Factor will be converted to character.
  
  ── Warning (test-organize_labels.R:11:3): labels individual ────────────────────
  You are trying to put value labels on factor. It can lead to unexpected results. Factor will be converted to character.
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (3)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  Warning (test-get_poverty_lines.R:5:3): test GBA
  ERROR (test-get_poverty_lines.R:5:3): test GBA
  Warning (test-organize_labels.R:11:3): labels individual
  Warning (test-organize_labels.R:11:3): labels individual
  
  [ FAIL 1 | WARN 3 | SKIP 3 | PASS 16 ]
  Error: Test failures
  Execution halted