Running ‘testthat.R’ [2s/44s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(robis)
  > 
  > test_check("robis")
  ── 1. Error: scientificname restricts the checklist by scientificname (@test_che
  Timeout was reached: [api.obis.org] Connection timed out after 10000 milliseconds
  Backtrace:
   1. robis::checklist(scientificname = family, verbose = TRUE)
   2. robis:::http_request("GET", "checklist", query)
   3. httr::GET(...)
   4. httr:::request_perform(req, hu$handle$handle)
   6. httr:::request_fetch.write_memory(req$output, req$url, handle)
   7. curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: checklist only returns taxa with IUCN Red List category when redlis
  Timeout was reached: [api.obis.org] Connection timed out after 10001 milliseconds
  Backtrace:
   1. robis::checklist(areaid = redlist_area, redlist = TRUE, verbose = TRUE)
   2. robis:::http_request("GET", "checklist", query)
   3. httr::GET(...)
   4. httr:::request_perform(req, hu$handle$handle)
   6. httr:::request_fetch.write_memory(req$output, req$url, handle)
   7. curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: occurrence returns small number of records for a scientific name (@
  Timeout was reached: [api.obis.org] Connection timed out after 10001 milliseconds
  Backtrace:
   1. robis::occurrence(scientificname = small_species, verbose = TRUE)
   2. robis:::http_request("GET", "occurrence", query)
   3. httr::GET(...)
   4. httr:::request_perform(req, hu$handle$handle)
   6. httr:::request_fetch.write_memory(req$output, req$url, handle)
   7. curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: occurrence returns small number of records for an aphia id (@test_o
  Timeout was reached: [api.obis.org] Connection timed out after 10001 milliseconds
  Backtrace:
   1. robis::occurrence(taxonid = small_taxonid)
   2. robis:::http_request("GET", "occurrence", query)
   3. httr::GET(...)
   4. httr:::request_perform(req, hu$handle$handle)
   6. httr:::request_fetch.write_memory(req$output, req$url, handle)
   7. curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 0 | SKIPPED: 4 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: scientificname restricts the checklist by scientificname (@test_checklist.R#10) 
  2. Error: checklist only returns taxa with IUCN Red List category when redlist = TRUE (@test_checklist.R#17) 
  3. Error: occurrence returns small number of records for a scientific name (@test_occurrence.R#12) 
  4. Error: occurrence returns small number of records for an aphia id (@test_occurrence.R#20) 
  
  Error: testthat unit tests failed
  Execution halted