Running ‘testthat.R’ [0m/25m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rcongresso)
  > 
  > test_check("rcongresso")
  ── 1. Error: (unknown) (@test_deputados.R#81)  ─────────────────────────────────
  argument "message" is missing, with no default
  1: skip() at testthat/test_deputados.R:81
  2: structure(list(message = message), class = c("skip", "condition"))
  
  ── 2. Error: (unknown) (@test_partidos.R#66)  ──────────────────────────────────
  argument "message" is missing, with no default
  1: skip() at testthat/test_partidos.R:66
  2: structure(list(message = message), class = c("skip", "condition"))
  
  ── 3. Error: (unknown) (@test_proposicoes.R#91)  ───────────────────────────────
  Falha na requisicao a API dos Dados Abertos. Erro 504 ao tentar acessar: https://dadosabertos.camara.leg.br/api/v2/proposicoes?siglaTipo=PEC&numero=241&ano=2016&dataInicio=2016-01-01
  1: check_api() at testthat/test_proposicoes.R:91
  2: tryCatch(setup(), error = function(e) {
         message(e)
         return(FALSE)
     }) at testthat/test_proposicoes.R:15
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5: value[[3L]](cond)
  6: message(e) at testthat/test_proposicoes.R:16
  7: withRestarts({
         signalCondition(cond)
         defaultHandler(cond)
     }, muffleMessage = function() NULL)
  8: withOneRestart(expr, restarts[[1L]])
  9: doWithOneRestart(return(expr), restart)
  
  ── 4. Error: (unknown) (@test_votacoes.R#70)  ──────────────────────────────────
  argument "message" is missing, with no default
  1: skip() at testthat/test_votacoes.R:70
  2: structure(list(message = message), class = c("skip", "condition"))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 0 SKIPPED: 0 FAILED: 4
  1. Error: (unknown) (@test_deputados.R#81) 
  2. Error: (unknown) (@test_partidos.R#66) 
  3. Error: (unknown) (@test_proposicoes.R#91) 
  4. Error: (unknown) (@test_votacoes.R#70) 
  
  Error: testthat unit tests failed
  Execution halted