Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [0m/24m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(curl)
  Using libcurl 8.18.0 with OpenSSL/3.5.5
  > 
  > # Comply with CRAN policy: skip tests if no internet
  > if(curl::has_internet()){
  +   test_check("curl")
  + }
  This is libcurl version 8.18.0 with OpenSSL/3.5.5 
  Using test server: https://hb.opencpu.org 
  Saving _problems/test-connection-11.R
  Saving _problems/test-connection-24.R
  Saving _problems/test-cookies-10.R
  Saving _problems/test-cookies-21.R
  Saving _problems/test-cookies-25.R
  Saving _problems/test-multi-164.R
  Saving _problems/test-nonblocking-5.R
  Saving _problems/test-nonblocking-22.R
  Saving _problems/test-nonblocking-37.R
  Saving _problems/test-nonblocking-55.R
  Saving _problems/test-path-14.R
  Saving _problems/test-path-25.R
  Saving _problems/test-post-106.R
  Saving _problems/test-progress-8.R
  Saving _problems/test-progress-11.R
  [ FAIL 15 | WARN 6 | SKIP 6 | PASS 231 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-auth.R:27:3', 'test-handle.R:149:3', 'test-idn.R:4:3',
    'test-multi-download.R:14:3', 'test-seek.R:2:3', 'test-winssl.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-connection.R:11:3'): Compression and destroying connection ─────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_fetch_memory(httpbin("deflate"), handle = h)`: Timeout was reached [hb.opencpu.org]:
  Connection timed out after 10002 milliseconds
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-connection.R:11:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─jsonlite::fromJSON(...)
   5. ├─base::rawToChar(curl_fetch_memory(httpbin("deflate"), handle = h)$content)
   6. ├─curl::curl_fetch_memory(httpbin("deflate"), handle = h)
   7. └─curl:::raise_libcurl_error(...)
  ── Error ('test-connection.R:24:3'): Connection interface ──────────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$args$test, "blabla") at test-connection.R:24:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─jsonlite::fromJSON(con)
   5.   └─jsonlite:::parse_and_simplify(...)
   6.     └─jsonlite:::parseJSON(txt, bigint_as_char)
   7.       └─jsonlite:::parse_con(txt, bigint_as_char)
   8.         ├─base::open(con, "rb")
   9.         └─base::open.connection(con, "rb")
  ── Error ('test-cookies.R:10:3'): Add some cookies ─────────────────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_fetch_memory(httpbin("cookies/set?foo=123&bar=ftw"), handle = h)`: Timeout was reached [hb.opencpu.org]:
  Connection timed out after 10001 milliseconds
  Backtrace:
      ▆
   1. ├─curl::curl_fetch_memory(...) at test-cookies.R:10:3
   2. └─curl:::raise_libcurl_error(...)
  ── Error ('test-cookies.R:21:3'): Coockie with connection ──────────────────────
  Error in `open.connection(con, "rb")`: cannot open the connection
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$cookies$foo, "123") at test-cookies.R:21:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─jsonlite::fromJSON(con)
   5.   └─jsonlite:::parse_and_simplify(...)
   6.     └─jsonlite:::parseJSON(txt, bigint_as_char)
   7.       └─jsonlite:::parse_con(txt, bigint_as_char)
   8.         ├─base::open(con, "rb")
   9.         └─base::open.connection(con, "rb")
  ── Error ('test-cookies.R:25:3'): Delete a cookie ──────────────────────────────
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_fetch_memory(httpbin("cookies/delete?foo"), handle = h)`: Timeout was reached [hb.opencpu.org]:
  Connection timed out after 10002 milliseconds
  Backtrace:
      ▆
   1. ├─curl::curl_fetch_memory(httpbin("cookies/delete?foo"), handle = h) at test-cookies.R:25:3
   2. └─curl:::raise_libcurl_error(...)
  ── Failure ('test-multi.R:164:5'): host_con and multi_fdset ────────────────────
  Expected `length(c(fdset$reads, fdset$writes))` <= `min(host_con, res$pending)`.
  Actual comparison: 1.0 > 0.0
  Difference: 1.0 > 0
  ── Error ('test-nonblocking.R:5:3'): Non blocking connections  ─────────────────
  Error in `open.connection(con, "rb", blocking = FALSE)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─base::open(con, "rb", blocking = FALSE) at test-nonblocking.R:5:3
   2. └─base::open.connection(con, "rb", blocking = FALSE)
  ── Error ('test-nonblocking.R:22:3'): Non blocking readline ────────────────────
  Error in `open.connection(con, "r", blocking = FALSE)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─base::open(con, "r", blocking = FALSE) at test-nonblocking.R:22:3
   2. └─base::open.connection(con, "r", blocking = FALSE)
  ── Error ('test-nonblocking.R:37:3'): isIncomplete for blocking connections ────
  Error in `readLines(con)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(length(readLines(con)), 71L) at test-nonblocking.R:37:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::readLines(con)
  ── Error ('test-nonblocking.R:55:3'): Small buffers ────────────────────────────
  Error in `open.connection(con)`: cannot open the connection
  Backtrace:
      ▆
   1. ├─base::open(con) at test-nonblocking.R:55:3
   2. └─base::open.connection(con)
  ── Error ('test-path.R:14:3'): curl_download() and curl_fetch_disk() can write to a non-ASCII path ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_fetch_disk(httpbin("stream/10"), file.path(tmpdir, tricky_filename))`: Timeout was reached [hb.opencpu.org]:
  Connection timed out after 10001 milliseconds
  Backtrace:
      ▆
   1. ├─curl::curl_fetch_disk(...) at test-path.R:14:3
   2. └─curl:::raise_libcurl_error(...)
  ── Error ('test-path.R:25:3'): curl_download() does not store failed downloads ──
  <curl_error_operation_timedout/curl_error/error/condition>
  Error in `curl_download(httpbin("get"), destfile = dest1)`: Timeout was reached [hb.opencpu.org]:
  Connection timed out after 10001 milliseconds
  Backtrace:
      ▆
   1. ├─curl::curl_download(httpbin("get"), destfile = dest1) at test-path.R:25:3
   2. └─curl:::raise_libcurl_error(...)
  ── Failure ('test-post.R:106:3'): GC works ─────────────────────────────────────
  Expected `total_handles()` to equal 0L.
  Differences:
  1/1 mismatches
  [1] 4 - 0 == 4
  ── Failure ('test-progress.R:8:3'): callbacks are protected ────────────────────
  Expected `total_handles()` to equal 1L.
  Differences:
  1/1 mismatches
  [1] 5 - 1 == 4
  ── Failure ('test-progress.R:11:3'): callbacks are protected ───────────────────
  Expected `total_handles()` to equal 0L.
  Differences:
  1/1 mismatches
  [1] 4 - 0 == 4
  
  [ FAIL 15 | WARN 6 | SKIP 6 | PASS 231 ]
  Error:
  ! Test failures.
  Execution halted