Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [22s/111s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(curl)
  Using libcurl 7.87.0 with LibreSSL/3.3.6
  > 
  > # Comply with CRAN policy: skip tests if no internet
  > if(curl::has_internet()){
  +   test_check("curl")
  + }
  This is libcurl version 7.87.0 with (SecureTransport) LibreSSL/3.3.6 
  Using test server: https://hb.r-universe.dev 
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 251 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-multi-download.R:14:3', 'test-seek.R:2:3',
    'test-winssl.R:2:3'
  • libcurl does not have libidn (1): 'test-idn.R:3:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-certificates.R:13:3'): Invalid domain raises an error ────────
  `curl_fetch_memory("https://fakehostname", handle = h)` threw an error with unexpected class and message.
  Expected class: curl_error_peer_failed_verification
  Actual class:   curl_error_operation_timedout/curl_error/error/condition
  Message:        Timeout was reached [fakehostname]: Connection timeout after 10002 ms
  Expected match: "certificate"
  Actual message: "Timeout was reached [fakehostname]: Connection timeout after 10002 ms"
  Backtrace:
      ▆
   1. ├─testthat::expect_error(...) at test-certificates.R:13:3
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. ├─curl::curl_fetch_memory("https://fakehostname", handle = h)
   7. └─curl:::raise_libcurl_error(...)
  ── Error ('test-certificates.R:15:3'): Invalid domain raises an error ──────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_fetch_memory("https://fakehostname", handle = h)`: Timeout was reached [fakehostname]: Connection timeout after 10005 ms
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-certificates.R:15:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─curl::curl_fetch_memory("https://fakehostname", handle = h)
   5. └─curl:::raise_libcurl_error(...)
  
  [ FAIL 2 | WARN 0 | SKIP 4 | PASS 251 ]
  Error: Test failures
  Execution halted