Running ‘spelling.R’
  Running ‘testthat.R’ [11s/43s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(taxadb)
  > 
  > #Sys.setenv(TAXADB_DRIVER="MonetDBLite")
  > test_check("taxadb")
  [1] "Testing using backend duckdb_connection"
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (3)
  ● testing all of COL is slow, using unit-test instead... (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-filter_by.R:71:3): filter_common ────────────────────────────────
  Error: Could not resolve host: hash-archive.org
  Backtrace:
       █
    1. └─taxadb::filter_common("man", "itis") test-filter_by.R:71:2
    2.   └─taxadb::filter_by(...)
    3.     ├─dplyr::mutate(taxa_tbl(provider, schema, version, db), input = !!sym(by))
    4.     └─taxadb::taxa_tbl(provider, schema, version, db)
    5.       └─taxadb::td_create(...)
    6.         └─taxadb::tl_import(provider, schema, version)
    7.           └─base::vapply(ids, contentid::resolve, "", store = TRUE)
    8.             └─contentid:::FUN(X[[i]], ...)
    9.               └─contentid::query_sources(...)
   10.                 └─base::lapply(remote, function(host) sources_ha(id, host = host))
   11.                   └─contentid:::FUN(X[[i]], ...)
   12.                     └─contentid:::sources_ha(id, host = host)
   13.                       └─contentid:::hash_archive_api(id, "api/sources", host)
   14.                         └─httr::GET(request)
   15.                           └─httr:::request_perform(req, hu$handle$handle)
   16.                             ├─httr:::request_fetch(req$output, req$url, handle)
   17.                             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18.                               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-fuzzy_filter.R:6:3): we can fuzzy match scientific and common names ──
  Error: Could not resolve host: hash-archive.org
  Backtrace:
       █
    1. └─taxadb::fuzzy_filter(name, "vernacularName", "itis") test-fuzzy_filter.R:6:2
    2.   ├─dplyr::mutate(taxa_tbl(provider, "dwc", version, db), input = !!sym(by))
    3.   └─taxadb::taxa_tbl(provider, "dwc", version, db)
    4.     └─taxadb::td_create(...)
    5.       └─taxadb::tl_import(provider, schema, version)
    6.         └─base::vapply(ids, contentid::resolve, "", store = TRUE)
    7.           └─contentid:::FUN(X[[i]], ...)
    8.             └─contentid::query_sources(...)
    9.               └─base::lapply(remote, function(host) sources_ha(id, host = host))
   10.                 └─contentid:::FUN(X[[i]], ...)
   11.                   └─contentid:::sources_ha(id, host = host)
   12.                     └─contentid:::hash_archive_api(id, "api/sources", host)
   13.                       └─httr::GET(request)
   14.                         └─httr:::request_perform(req, hu$handle$handle)
   15.                           ├─httr:::request_fetch(req$output, req$url, handle)
   16.                           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   17.                             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-fuzzy_filter.R:23:3): we can fuzzy match scientific and common names ──
  Error: Could not resolve host: hash-archive.org
  Backtrace:
       █
    1. └─taxadb::common_contains(name, "itis") test-fuzzy_filter.R:23:2
    2.   └─taxadb::fuzzy_filter(...)
    3.     ├─dplyr::mutate(taxa_tbl(provider, "dwc", version, db), input = !!sym(by))
    4.     └─taxadb::taxa_tbl(provider, "dwc", version, db)
    5.       └─taxadb::td_create(...)
    6.         └─taxadb::tl_import(provider, schema, version)
    7.           └─base::vapply(ids, contentid::resolve, "", store = TRUE)
    8.             └─contentid:::FUN(X[[i]], ...)
    9.               └─contentid::query_sources(...)
   10.                 └─base::lapply(remote, function(host) sources_ha(id, host = host))
   11.                   └─contentid:::FUN(X[[i]], ...)
   12.                     └─contentid:::sources_ha(id, host = host)
   13.                       └─contentid:::hash_archive_api(id, "api/sources", host)
   14.                         └─httr::GET(request)
   15.                           └─httr:::request_perform(req, hu$handle$handle)
   16.                             ├─httr:::request_fetch(req$output, req$url, handle)
   17.                             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   18.                               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-get_ids.R:6:3): we can use get_ids options ──────────────────────
  Error: Timeout was reached: [hash-archive.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       █
    1. ├─taxadb::get_ids("Homo sapiens", format = "bare", db = "itis") test-get_ids.R:6:2
    2. │ ├─`%>%`(...)
    3. │ └─taxadb::filter_name(...)
    4. │   └─taxadb::filter_by(...)
    5. │     ├─dplyr::mutate(taxa_tbl(provider, schema, version, db), input = !!sym(by))
    6. │     └─taxadb::taxa_tbl(provider, schema, version, db)
    7. │       └─taxadb::td_create(...)
    8. │         └─taxadb::tl_import(provider, schema, version)
    9. │           └─base::vapply(ids, contentid::resolve, "", store = TRUE)
   10. │             └─contentid:::FUN(X[[i]], ...)
   11. │               └─contentid::query_sources(...)
   12. │                 └─base::lapply(remote, function(host) sources_ha(id, host = host))
   13. │                   └─contentid:::FUN(X[[i]], ...)
   14. │                     └─contentid:::sources_ha(id, host = host)
   15. │                       └─contentid:::hash_archive_api(id, "api/sources", host)
   16. │                         └─httr::GET(request)
   17. │                           └─httr:::request_perform(req, hu$handle$handle)
   18. │                             ├─httr:::request_fetch(req$output, req$url, handle)
   19. │                             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   20. │                               └─curl::curl_fetch_memory(url, handle = handle)
   21. └─dplyr::arrange(., sort)
  
  [ FAIL 4 | WARN 0 | SKIP 4 | PASS 54 ]
  Error: Test failures
  Execution halted