Running 'testthat.R' [23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(receptiviti)
  The tzdb package is not installed. Timezones will not be available to Arrow compute functions.
  > 
  > test_check("receptiviti")
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 6 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • no API key (2): 'test-receptiviti.R:32:1', 'test-receptiviti_status.R:16:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-receptiviti.R:13:3'): invalid inputs are caught ────────────────
  Error in `curl_fetch_memory(url, handler)`: Timeout was reached: [api.receptiviti.com] Resolving timed out after 10001 milliseconds
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-receptiviti.R:13:2
   2. │ └─testthat:::expect_condition_matching(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─receptiviti::receptiviti("", key = 123)
   8.   └─receptiviti::receptiviti_status(url, key, secret, verbose = FALSE)
   9.     └─curl::curl_fetch_memory(url, handler)
  ── Error ('test-receptiviti_status.R:5:3'): failures works ─────────────────────
  Error in `curl_fetch_memory(url, handler)`: Timeout was reached: [example.com] Failed to connect to example.com port 443 after 10012 ms: Timeout was reached
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-receptiviti_status.R:5:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─utils::capture.output(...)
   5. │ └─base::withVisible(...elt(i))
   6. └─receptiviti::receptiviti_status("example.com", key = 123, secret = 123)
   7.   └─curl::curl_fetch_memory(url, handler)
  
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 6 ]
  Error: Test failures
  Execution halted