Running 'testthat.R' [32s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ipeaData)
  > 
  > test_check("ipeaData")
  -- 1. Error: basic call (@test_functions_ipea_data.R#12)  ----------------------
  Timeout was reached: Connection timed out after 10015 milliseconds
  1: basic_call("http://ipeadata2-homologa.ipea.gov.br/api/v1") at testthat/test_functions_ipea_data.R:12
  2: GET(api)
  3: request_perform(req, hu$handle$handle)
  4: request_fetch(req$output, req$url, handle)
  5: request_fetch.write_memory(req$output, req$url, handle)
  6: curl::curl_fetch_memory(url, handle = handle)
  
  -- 2. Error: ipeaData (@test_functions_ipea_data.R#17)  ------------------------
  Timeout was reached: Connection timed out after 10015 milliseconds
  1: suppressWarnings(result <- ipeadata("ADMIS")) at testthat/test_functions_ipea_data.R:17
  2: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  3: ipeadata("ADMIS")
  4: get_metadata(serie)
  5: basic_call(api_call, type)
  6: GET(api)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  -- 3. Error: search_serie (@test_functions_ipea_data.R#24)  --------------------
  Timeout was reached: Connection timed out after 10016 milliseconds
  1: search_serie("pib", fields_search = ("SERNOME")) at testthat/test_functions_ipea_data.R:24
  2: basic_call(api_call, type)
  3: GET(api)
  4: request_perform(req, hu$handle$handle)
  5: request_fetch(req$output, req$url, handle)
  6: request_fetch.write_memory(req$output, req$url, handle)
  7: curl::curl_fetch_memory(url, handle = handle)
  
  == testthat results  ===========================================================
  OK: 3 SKIPPED: 0 FAILED: 3
  1. Error: basic call (@test_functions_ipea_data.R#12) 
  2. Error: ipeaData (@test_functions_ipea_data.R#17) 
  3. Error: search_serie (@test_functions_ipea_data.R#24) 
  
  Error: testthat unit tests failed
  Execution halted