Running ‘testthat.R’ [1s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(hypothesisr)
  > 
  > test_check("hypothesisr")
  ── 1. Error: hs_search returns a list of the expected format. (@test_search.R#17
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: hs_search(text = "ulysses", limit = 5) at testthat/test_search.R:17
  2: hs_search_handler(limit[1], offset[1], sort[1], order[1], uri[1], user[1], text[1], 
         any[1], custom)
  3: httr::GET(formatted_url, httr::accept_json())
  4: request_perform(req, hu$handle$handle)
  5: request_fetch(req$output, req$url, handle)
  6: request_fetch.write_memory(req$output, req$url, handle)
  7: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: custom fields in hs_search are correctly added to URL. (@test_searc
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: hs_search(limit = 5, custom = list(tags = "todo")) at testthat/test_search.R:31
  2: hs_search_handler(limit[1], offset[1], sort[1], order[1], uri[1], user[1], text[1], 
         any[1], custom)
  3: httr::GET(formatted_url, httr::accept_json())
  4: request_perform(req, hu$handle$handle)
  5: request_fetch(req$output, req$url, handle)
  6: request_fetch.write_memory(req$output, req$url, handle)
  7: curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: Truncated results generate a message and table attribute. (@test_se
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: expect_message(hs_todo <- hs_search(text = "todo")) at testthat/test_search.R:36
  2: quasi_capture(enquo(object), label, capture_messages)
  3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
  4: withCallingHandlers(code, message = function(condition) {
         out$push(condition)
         invokeRestart("muffleMessage")
     })
  5: eval_bare(get_expr(.quo), get_env(.quo))
  6: hs_search(text = "todo")
  7: hs_search_handler(limit[1], offset[1], sort[1], order[1], uri[1], user[1], text[1], 
         any[1], custom)
  8: httr::GET(formatted_url, httr::accept_json())
  9: request_perform(req, hu$handle$handle)
  10: request_fetch(req$output, req$url, handle)
  11: request_fetch.write_memory(req$output, req$url, handle)
  12: curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 7 SKIPPED: 1 WARNINGS: 0 FAILED: 3
  1. Error: hs_search returns a list of the expected format. (@test_search.R#17) 
  2. Error: custom fields in hs_search are correctly added to URL. (@test_search.R#31) 
  3. Error: Truncated results generate a message and table attribute. (@test_search.R#36) 
  
  Error: testthat unit tests failed
  Execution halted