Running 'testthat.R' [6s/125s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rbcb)
  > 
  > test_check("rbcb")
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 60 ]
  
  == Failed tests ================================================================
  -- Error (test-currencies.R:5:3): it should get currency data from BCB ---------
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb::get_currency("USD", "2017-03-01", "2017-03-02", as = "text") test-currencies.R:5:2
    2.   \-rbcb:::get_currency_id(symbol)
    3.     +-base::suppressMessages(get_currency_list())
    4.     | \-base::withCallingHandlers(...)
    5.     \-rbcb:::get_currency_list()
    6.       \-rbcb:::get_valid_currency_list()
    7.         \-rbcb:::http_getter(url2)
    8.           \-httr::GET(...)
    9.             \-httr:::request_perform(req, hu$handle$handle)
   10.               +-httr:::request_fetch(req$output, req$url, handle)
   11.               \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 \-curl::curl_fetch_memory(url, handle = handle)
  -- Error (test-currencies.R:11:3): it should get a time series of a currency from bcb --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb::get_currency("USD", "2017-03-01", "2017-03-14") test-currencies.R:11:2
    2.   \-rbcb:::get_currency_id(symbol)
    3.     +-base::suppressMessages(get_currency_list())
    4.     | \-base::withCallingHandlers(...)
    5.     \-rbcb:::get_currency_list()
    6.       \-rbcb:::get_valid_currency_list()
    7.         \-rbcb:::http_getter(url2)
    8.           \-httr::GET(...)
    9.             \-httr:::request_perform(req, hu$handle$handle)
   10.               +-httr:::request_fetch(req$output, req$url, handle)
   11.               \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 \-curl::curl_fetch_memory(url, handle = handle)
  -- Error (test-currencies.R:20:3): it should get currency code -----------------
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb:::get_currency_id("BRL") test-currencies.R:20:2
    2.   +-base::suppressMessages(get_currency_list())
    3.   | \-base::withCallingHandlers(...)
    4.   \-rbcb:::get_currency_list()
    5.     \-rbcb:::get_valid_currency_list()
    6.       \-rbcb:::http_getter(url2)
    7.         \-httr::GET(...)
    8.           \-httr:::request_perform(req, hu$handle$handle)
    9.             +-httr:::request_fetch(req$output, req$url, handle)
   10.             \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.               \-curl::curl_fetch_memory(url, handle = handle)
  -- Error (test-currencies.R:25:3): it should get MXN and ARS data --------------
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb::get_currency("MXN", "2018-05-28", "2018-05-30") test-currencies.R:25:2
    2.   \-rbcb:::get_currency_id(symbol)
    3.     +-base::suppressMessages(get_currency_list())
    4.     | \-base::withCallingHandlers(...)
    5.     \-rbcb:::get_currency_list()
    6.       \-rbcb:::get_valid_currency_list()
    7.         \-rbcb:::http_getter(url2)
    8.           \-httr::GET(...)
    9.             \-httr:::request_perform(req, hu$handle$handle)
   10.               +-httr:::request_fetch(req$output, req$url, handle)
   11.               \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 \-curl::curl_fetch_memory(url, handle = handle)
  -- Error (test-currencies.R:34:3): it should get a time series with a symbol attribute --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb::get_currency("USD", "2017-03-01", "2017-03-14") test-currencies.R:34:2
    2.   \-rbcb:::get_currency_id(symbol)
    3.     +-base::suppressMessages(get_currency_list())
    4.     | \-base::withCallingHandlers(...)
    5.     \-rbcb:::get_currency_list()
    6.       \-rbcb:::get_valid_currency_list()
    7.         \-rbcb:::http_getter(url2)
    8.           \-httr::GET(...)
    9.             \-httr:::request_perform(req, hu$handle$handle)
   10.               +-httr:::request_fetch(req$output, req$url, handle)
   11.               \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 \-curl::curl_fetch_memory(url, handle = handle)
  -- Error (test-currencies.R:43:3): it should get ask/bid time series named with symbol --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www4.bcb.gov.br] Connection timeout after 10001 ms
  Backtrace:
       x
    1. \-rbcb::get_currency("USD", "2017-03-01", "2017-03-14") test-currencies.R:43:2
    2.   \-rbcb:::get_currency_id(symbol)
    3.     +-base::suppressMessages(get_currency_list())
    4.     | \-base::withCallingHandlers(...)
    5.     \-rbcb:::get_currency_list()
    6.       \-rbcb:::get_valid_currency_list()
    7.         \-rbcb:::http_getter(url2)
    8.           \-httr::GET(...)
    9.             \-httr:::request_perform(req, hu$handle$handle)
   10.               +-httr:::request_fetch(req$output, req$url, handle)
   11.               \-httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.                 \-curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 60 ]
  Error: Test failures
  Execution halted