Running ‘testthat.R’ [8s/244s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(curl)
  > 
  > test_check("curl")
  This is libcurl version 7.48.0 with OpenSSL/1.0.1t 
  Using test server: https://eu.httpbin.org 
  1. Failure: Max connections works (@test-multi.R#11) ---------------------------
  `out` not equal to list(success = 2, error = 0, pending = 1).
  Component "success": Mean absolute difference: 2
  Component "pending": Mean relative difference: 0.6666667
  
  
  2. Failure: Max connections works (@test-multi.R#13) ---------------------------
  `out` not equal to list(success = 1, error = 0, pending = 0).
  Component "success": Mean relative difference: 0.5
  Component "pending": Mean relative difference: 1
  
  
  3. Failure: Max connections works (@test-multi.R#15) ---------------------------
  `out` not equal to list(success = 0, error = 0, pending = 0).
  Component "success": Mean relative difference: 1
  
  
  4. Failure: Timeout works (@test-multi.R#40) -----------------------------------
  `out` not equal to list(success = 1, error = 2, pending = 1).
  Component "success": Mean absolute difference: 1
  Component "pending": Mean relative difference: 0.5
  
  
  5. Failure: Timeout works (@test-multi.R#42) -----------------------------------
  `out` not equal to list(success = 0, error = 0, pending = 1).
  Component "pending": Mean relative difference: 0.5
  
  
  6. Failure: Timeout works (@test-multi.R#44) -----------------------------------
  `out` not equal to list(success = 1, error = 0, pending = 0).
  Component "success": Mean relative difference: 0.5
  
  
  testthat results ================================================================
  OK: 165 SKIPPED: 0 FAILED: 6
  1. Failure: Max connections works (@test-multi.R#11) 
  2. Failure: Max connections works (@test-multi.R#13) 
  3. Failure: Max connections works (@test-multi.R#15) 
  4. Failure: Timeout works (@test-multi.R#40) 
  5. Failure: Timeout works (@test-multi.R#42) 
  6. Failure: Timeout works (@test-multi.R#44) 
  
  Error: testthat unit tests failed
  Execution halted