Running 'spelling.R' [1s]
  Running 'testthat.R' [52s]
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.64.1 with OpenSSL/1.1.1a (Schannel) 
  Using test server: http://hb.opencpu.org 
  createTcpServer: address already in use
  -- 1. Error: roundtrip large data (@test-echo.R#9)  ----------------------------
  Failed to create server
  1: curl::curl_echo(handle = handle) at testthat/test-echo.R:9
  2: httpuv::startServer("0.0.0.0", port, list(call = echo_handler))
  3: WebServer$new(host, port, app, quiet)
  4: .subset2(public_bind_env, "initialize")(...)
  5: stop("Failed to create server")
  
  -- 2. Failure: Garbage collection works (@test-gc.R#17)  -----------------------
  total_handles() not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  
  -- 3. Failure: Garbage collection works (@test-gc.R#20)  -----------------------
  total_handles() not equal to 1.
  1/1 mismatches
  [1] 2 - 1 == 1
  
  -- 4. Failure: Garbage collection works (@test-gc.R#27)  -----------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 5. Failure: Clean up pending requets (@test-gc.R#41)  -----------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 6. Failure: Clean up hanging requests (@test-gc.R#54)  ----------------------
  total_handles() not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  
  -- 7. Failure: Clean up hanging requests (@test-gc.R#58)  ----------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 8. Failure: GC works (@test-handle.R#134)  ----------------------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 9. Failure: Errors in Callbacks (@test-multi.R#65)  -------------------------
  total_handles() not equal to 3.
  1/1 mismatches
  [1] 4 - 3 == 1
  
  -- 10. Failure: Errors in Callbacks (@test-multi.R#68)  ------------------------
  total_handles() not equal to 2.
  1/1 mismatches
  [1] 3 - 2 == 1
  
  -- 11. Failure: Errors in Callbacks (@test-multi.R#71)  ------------------------
  total_handles() not equal to 1.
  1/1 mismatches
  [1] 2 - 1 == 1
  
  -- 12. Failure: Errors in Callbacks (@test-multi.R#74)  ------------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 13. Failure: GC works (@test-multi.R#176)  ----------------------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 14. Failure: Non blocking connections  (@test-nonblocking.R#19)  ------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 15. Failure: Non blocking readline (@test-nonblocking.R#33)  ----------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 16. Failure: isIncomplete for blocking connections (@test-nonblocking.R#51)  
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 17. Failure: GC works (@test-post.R#108)  -----------------------------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  -- 18. Failure: callbacks are protected (@test-progress.R#10)  -----------------
  total_handles() not equal to 1.
  1/1 mismatches
  [1] 2 - 1 == 1
  
  -- 19. Failure: callbacks are protected (@test-progress.R#13)  -----------------
  total_handles() not equal to 0.
  1/1 mismatches
  [1] 1 - 0 == 1
  
  == testthat results  ===========================================================
  [ OK: 192 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 19 ]
  1. Error: roundtrip large data (@test-echo.R#9) 
  2. Failure: Garbage collection works (@test-gc.R#17) 
  3. Failure: Garbage collection works (@test-gc.R#20) 
  4. Failure: Garbage collection works (@test-gc.R#27) 
  5. Failure: Clean up pending requets (@test-gc.R#41) 
  6. Failure: Clean up hanging requests (@test-gc.R#54) 
  7. Failure: Clean up hanging requests (@test-gc.R#58) 
  8. Failure: GC works (@test-handle.R#134) 
  9. Failure: Errors in Callbacks (@test-multi.R#65) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted