Running ‘test-all.R’ [11s/43s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library("testthat")
  > test_check("worrms")
  Loading required package: worrms
  ── 1. Error: wm_children - offset parameter works (@test-wm_children.R#30)  ────
  Timeout was reached: [www.marinespecies.org] Connection timed out after 10001 milliseconds
  Backtrace:
   1. worrms::wm_children(id = 105706, offset = 1)
   2. worrms:::wm_GET(...)
   3. cli$get(query = query)
   4. private$make_request(rr)
   5. adap$handle_request(opts)
   6. webmockr::webmockr_crul_fetch(req)
   7. curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  ── 2. Error: wm_record_ - deprecated (@test-wm_record.R#36)  ───────────────────
  Timeout was reached: [www.marinespecies.org] Connection timed out after 10001 milliseconds
  Backtrace:
    1. testthat::expect_warning(wm_record_(id = 105706), "deprecated")
    6. worrms::wm_record_(id = 105706)
    7. worrms:::run_c(id, wm_record, on_error = warning, ...)
   13. base::lapply(id, fun, ...)
   14. worrms:::FUN(X[[i]], ...)
   15. worrms:::wm_GET(...)
   16. cli$get(query = query)
   17. private$make_request(rr)
   18. crul:::crul_fetch(opts)
   19. curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  ── 3. Error: wm_records_date - works (@test-wm_records_date.R#8)  ──────────────
  Timeout was reached: [www.marinespecies.org] Connection timed out after 10001 milliseconds
  Backtrace:
   1. worrms::wm_records_date(a_date)
   2. worrms:::wm_GET(...)
   3. cli$get(query = query)
   4. private$make_request(rr)
   5. crul:::crul_fetch(opts)
   6. curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 161 | SKIPPED: 30 | WARNINGS: 0 | FAILED: 3 ]
  1. Error: wm_children - offset parameter works (@test-wm_children.R#30) 
  2. Error: wm_record_ - deprecated (@test-wm_record.R#36) 
  3. Error: wm_records_date - works (@test-wm_records_date.R#8) 
  
  Error: testthat unit tests failed
  Execution halted