Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [7s/166s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(curl)
  > 
  > # Comply with CRAN policy: skip tests if no internet
  > if(curl::has_internet()){
  +   test_check("curl")
  + }
  This is libcurl version 7.72.0 with GnuTLS/3.6.15 
  Using test server: http://hb.opencpu.org 
  ── ERROR (test-blockopen.R:46:3): Error handling for non-blocking open ─────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10019 milliseconds
  Backtrace:
      █
   1. ├─testthat::expect_is(read_text(con), "character") test-blockopen.R:46:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─curl:::read_text(con)
   5.   └─base::readLines(x) test-blockopen.R:6:4
  
  ── ERROR (test-connection.R:24:3): Connection interface ────────────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10001 milliseconds
  Backtrace:
      █
   1. ├─testthat::expect_equal(jsonlite::fromJSON(con)$args$test, "blabla") test-connection.R:24:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   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-handle.R:44:3): Opening and closing a connection ────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10000 milliseconds
  Backtrace:
      █
   1. ├─base::open(con) test-handle.R:44:2
   2. └─base::open.connection(con)
  
  ── ERROR (test-handle.R:73:3): Downloading to a file ───────────────────────────
  Error: Failed initialization
  Backtrace:
      █
   1. └─curl::curl_download(httpbin("get?test=boeboe"), tmp, handle = h) test-handle.R:73:2
  
  ── Skip (test-idn.R:6:3): IDN domain names ─────────────────────────────────────
  Reason: On CRAN
  
  ── FAILURE (test-multi.R:21:3): Timeout works ──────────────────────────────────
  `out` not equal to list(success = 1, error = 0, pending = 0).
  Component "success": Mean absolute difference: 1
  Component "error": Mean relative difference: 1
  
  ── FAILURE (test-multi.R:69:3): Errors in Callbacks ────────────────────────────
  `multi_run(pool = pool)` did not throw an error.
  
  ── FAILURE (test-multi.R:71:3): Errors in Callbacks ────────────────────────────
  total_handles() not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  
  ── FAILURE (test-multi.R:72:3): Errors in Callbacks ────────────────────────────
  `multi_run(pool = pool)` did not throw an error.
  
  [1] "error"
  ── FAILURE (test-multi.R:137:3): callback protection ───────────────────────────
  out$success not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  
  Connection timed out after 10001 millisecondsConnection timed out after 10000 millisecondsConnection timed out after 10001 millisecondsConnection timed out after 10001 milliseconds── ERROR (test-nonblocking.R:24:3): Non blocking readline ──────────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10000 milliseconds
  Backtrace:
      █
   1. ├─base::open(con, "r", blocking = FALSE) test-nonblocking.R:24:2
   2. └─base::open.connection(con, "r", blocking = FALSE)
  
  ── ERROR (test-nonblocking.R:57:3): Small buffers ──────────────────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10001 milliseconds
  Backtrace:
      █
   1. ├─base::open(con) test-nonblocking.R:57:2
   2. └─base::open.connection(con)
  
  ── ERROR (test-path.R:16:3): curl_download() and curl_fetch_disk() can write to 
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10000 milliseconds
  Backtrace:
      █
   1. └─curl::curl_fetch_disk(...) test-path.R:16:2
  
  ── ERROR (test-path.R:26:3): curl_download() does not store failed downloads ───
  Error: Timeout was reached: [] Connection timed out after 10001 milliseconds
  Backtrace:
      █
   1. └─curl::curl_download(httpbin("get"), destfile = dest1) test-path.R:26:2
  
  ── ERROR (test-post.R:12:3): Post text data ────────────────────────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10001 milliseconds
  Backtrace:
      █
   1. └─curl::curl_fetch_memory(httpbin("post"), handle = h) test-post.R:12:2
  
  ── ERROR (test-post.R:36:3): Change headers ────────────────────────────────────
  Error: Timeout was reached: [hb.opencpu.org] Connection timed out after 10000 milliseconds
  Backtrace:
      █
   1. └─curl::curl_fetch_memory(httpbin("post"), handle = h) test-post.R:36:2
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (1)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-blockopen.R:46:3): Error handling for non-blocking open
  ERROR (test-connection.R:24:3): Connection interface
  ERROR (test-handle.R:44:3): Opening and closing a connection
  ERROR (test-handle.R:73:3): Downloading to a file
  FAILURE (test-multi.R:21:3): Timeout works
  FAILURE (test-multi.R:69:3): Errors in Callbacks
  FAILURE (test-multi.R:71:3): Errors in Callbacks
  FAILURE (test-multi.R:72:3): Errors in Callbacks
  FAILURE (test-multi.R:137:3): callback protection
  ERROR (test-nonblocking.R:24:3): Non blocking readline
  ERROR (test-nonblocking.R:57:3): Small buffers
  ERROR (test-path.R:16:3): curl_download() and curl_fetch_disk() can write to a non-ASCII path
  ERROR (test-path.R:26:3): curl_download() does not store failed downloads
  ERROR (test-post.R:12:3): Post text data
  ERROR (test-post.R:36:3): Change headers
  
  [ FAIL 15 | WARN 0 | SKIP 1 | PASS 174 ]
  Error: Test failures
  In addition: Warning messages:
  1: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://hb.opencpu.org/status/418)
  2: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://hb.opencpu.org/cookies)
  3: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://hb.opencpu.org/stream/71)
  4: In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (http://hb.opencpu.org/)
  Execution halted