Running 'testthat.R' [45s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rzentra)
  > 
  > test_check("rzentra")
  == Skipped tests ===============================================================
  * token == "" is TRUE (7)
  
  == Failed tests ================================================================
  -- Failure (test-zc_readings.R:5:3): zc_statuses returns errors ----------------
  `zc_readings(token = "aaa", sn = "z6-00033")` threw an error with unexpected message.
  Expected match: "Invalid token."
  Actual message: "Timeout was reached: [zentracloud.com] Connection timed out after 10010 milliseconds"
  Backtrace:
       x
    1. +-testthat::expect_error(...) test-zc_readings.R:5:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-rzentra::zc_readings(token = "aaa", sn = "z6-00033")
    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)
  -- Failure (test-zc_settings.R:5:3): zc_settings returns errors ----------------
  `zc_settings(token = "aaa", sn = "z6-00033")` threw an error with unexpected message.
  Expected match: "Invalid token."
  Actual message: "Timeout was reached: [zentracloud.com] Connection timed out after 10013 milliseconds"
  Backtrace:
       x
    1. +-testthat::expect_error(...) test-zc_settings.R:5:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-rzentra::zc_settings(token = "aaa", sn = "z6-00033")
    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)
  -- Failure (test-zc_statuses.R:5:3): zc_statuses returns errors ----------------
  `zc_statuses(token = "aaa", sn = "z6-00033")` threw an error with unexpected message.
  Expected match: "Invalid token."
  Actual message: "Timeout was reached: [zentracloud.com] Connection timed out after 10000 milliseconds"
  Backtrace:
       x
    1. +-testthat::expect_error(...) test-zc_statuses.R:5:2
    2. | \-testthat:::quasi_capture(...)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-rzentra::zc_statuses(token = "aaa", sn = "z6-00033")
    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)
  
  [ FAIL 3 | WARN 0 | SKIP 7 | PASS 3 ]
  Error: Test failures
  Execution halted