Running ‘testthat.R’ [29s/42s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(dail)
  > 
  > test_check("dail")
  trying URL 'https://dadosabertos-download.cgu.gov.br/FalaBR/Arquivos_FalaBR_Filtrado/Arquivos_csv_2015.zip'
  Content type 'application/x-zip-compressed' length 9961500 bytes (9.5 MB)
  ==================================================
  downloaded 9.5 MB
  
  ℹ Using "','" as decimal and "'.'" as grouping mark. Use `read_delim()` for more control.
  trying URL 'https://dadosabertos-download.cgu.gov.br/FalaBR/Arquivos_FalaBR_Filtrado/Arquivos_csv_2016.zip'
  Content type 'application/x-zip-compressed' length 52119799 bytes (49.7 MB)
  ==================================================
  downloaded 49.7 MB
  
  ℹ Using "','" as decimal and "'.'" as grouping mark. Use `read_delim()` for more control.
  [1] "Consulta finalizada."
  trying URL 'https://dadosabertos-download.cgu.gov.br/FalaBR/Arquivos_FalaBR_Filtrado/Arquivos_csv_2015.zip'
  Content type 'application/x-zip-compressed' length 9961500 bytes (9.5 MB)
  ==================================================
  downloaded 9.5 MB
  
  ℹ Using "','" as decimal and "'.'" as grouping mark. Use `read_delim()` for more control.
  trying URL 'https://dadosabertos-download.cgu.gov.br/FalaBR/Arquivos_FalaBR_Filtrado/Arquivos_csv_2016.zip'
  Content type 'application/x-zip-compressed' length 52119799 bytes (49.7 MB)
  ==================================================
  downloaded 49.7 MB
  
  ℹ Using "','" as decimal and "'.'" as grouping mark. Use `read_delim()` for more control.
  [1] "Consulta finalizada."
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-requests.R:61'): test the arguments agency, year, answer and search ──
  nrow(df10) (`actual`) not equal to 37 (`expected`).
  
    `actual`: 23
  `expected`: 37
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted