Running 'testthat.R' [33s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(lacrmr)
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > library(httptest)
  > library(mockery)
  > 
  > test_check("lacrmr")
  -- 1. Error: List are removed from the pipeline report (@test-cleaning.R#12)  --
  Timeout was reached: [api.lessannoyingcrm.com] Connection timed out after 10000 milliseconds
  Backtrace:
   1. lacrmr::get_pipeline_report(...)
   4. lacrmr:::get_request(...)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  -- 2. Error: Lists are removed from the contacts information (@test-cleaning.R#3
  Timeout was reached: [api.lessannoyingcrm.com] Connection timed out after 10000 milliseconds
  Backtrace:
   1. lacrmr::get_contact_information(...)
   4. lacrmr:::get_request(...)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  -- 3. Failure: Invalid credentials (@test-error-warning-msg.R#10)  -------------
  `get_account_information(user_code = "6A6E88", api_token = "57102821")` threw an error with unexpected message.
  Expected match: "Invalid user credentials"
  Actual message: "Timeout was reached: [api.lessannoyingcrm.com] Connection timed out after 10000 milliseconds"
  Backtrace:
    1. testthat::expect_error(...)
    6. lacrmr::get_account_information(user_code = "6A6E88", api_token = "57102821")
    9. lacrmr:::get_request(...)
   10. httr::GET(...)
   11. httr:::request_perform(req, hu$handle$handle)
   13. httr:::request_fetch.write_memory(req$output, req$url, handle)
   14. curl::curl_fetch_memory(url, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 3 | SKIPPED: 4 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: List are removed from the pipeline report (@test-cleaning.R#12) 
  2. Error: Lists are removed from the contacts information (@test-cleaning.R#30) 
  3. Failure: Invalid credentials (@test-error-warning-msg.R#10) 
  
  Error: testthat unit tests failed
  Execution halted