Running 'test-all.R' [32s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check('bold')
  Loading required package: bold
  [ FAIL 3 | WARN 17 | SKIP 59 | PASS 110 ]
  
  ══ Skipped tests (59) ══════════════════════════════════════════════════════════
  • On CRAN (59): 'test-bold_get_attr.R:2:3', 'test-bold_identify.R:4:3',
    'test-bold_identify.R:14:3', 'test-bold_identify.R:25:3',
    'test-bold_identify.R:39:3', 'test-bold_seq.R:5:3', 'test-bold_seq.R:18:3',
    'test-bold_seq.R:30:3', 'test-bold_seqspec.R:4:3',
    'test-bold_seqspec.R:14:3', 'test-bold_seqspec.R:25:3',
    'test-bold_seqspec.R:36:3', 'test-bold_seqspec.R:47:3',
    'test-bold_specimens.R:4:3', 'test-bold_specimens.R:14:3',
    'test-bold_specimens.R:24:3', 'test-bold_specimens.R:34:3',
    'test-bold_stats.R:4:3', 'test-bold_stats.R:16:3', 'test-bold_stats.R:30:3',
    'test-bold_stats.R:40:3', 'test-bold_stats.R:50:3', 'test-bold_tax_id.R:4:3',
    'test-bold_tax_id.R:16:3', 'test-bold_tax_id.R:25:3',
    'test-bold_tax_id.R:35:3', 'test-bold_tax_id.R:44:3',
    'test-bold_tax_id.R:57:3', 'test-bold_tax_id.R:65:3',
    'test-bold_tax_id.R:73:3', 'test-bold_tax_id.R:82:3',
    'test-bold_tax_id.R:90:3', 'test-bold_tax_id.R:98:3',
    'test-bold_tax_id.R:106:3', 'test-bold_tax_id.R:114:3',
    'test-bold_tax_id2.R:4:3', 'test-bold_tax_id2.R:16:3',
    'test-bold_tax_id2.R:25:3', 'test-bold_tax_id2.R:41:3',
    'test-bold_tax_id2.R:56:3', 'test-bold_tax_id2.R:64:3',
    'test-bold_tax_id2.R:72:3', 'test-bold_tax_id2.R:81:3',
    'test-bold_tax_id2.R:90:3', 'test-bold_tax_id2.R:102:3',
    'test-bold_tax_id2.R:114:3', 'test-bold_tax_id2.R:126:3',
    'test-bold_tax_id2.R:134:3', 'test-bold_tax_name.R:4:3',
    'test-bold_tax_name.R:13:3', 'test-bold_tax_name.R:22:3',
    'test-bold_tax_name.R:43:3', 'test-bold_tax_name.R:53:3',
    'test-bold_tax_name.R:68:3', 'test-bold_tax_name.R:79:3',
    'test-bold_trace.R:4:3', 'test-bold_trace.R:17:3', 'test-bold_trace.R:30:3',
    'test-bold_trace.R:42:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-bold_identify_parents.R:43:3'): bold_identify_parents fails well ──
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Timeout was reached: [v4.boldsystems.org] Resolving timed out after 10009 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-bold_identify_parents.R:43:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─bold::bold_identify_parents(bold_identify_list[[1]][1, ], tax_rank = 5)
    7. └─bold:::bold_identify_parents.data.frame(...)
    8.   ├─bold::bold_identify_parents(...)
    9.   └─bold:::bold_identify_parents.list(...)
   10.     └─base::lapply(...)
   11.       └─bold (local) FUN(X[[i]], ...)
   12.         └─bold::bold_tax_name(w, ...)
   13.           └─base::lapply(...)
   14.             └─bold (local) FUN(X[[i]], ...)
   15.               └─bold:::b_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)
  ── Failure ('test-bold_specimens.R:43:3'): bold_seq fails well ─────────────────
  `bold_specimens(geo = "Costa Rica", timeout_ms = 2)` threw an error with unexpected message.
  Expected match: "Timeout was reached"
  Actual message: "Could not resolve host: v4.boldsystems.org"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-bold_specimens.R:43:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bold::bold_specimens(geo = "Costa Rica", timeout_ms = 2)
    7.   └─bold:::b_GET(...)
    8.     └─cli$get(query = query, ...)
    9.       └─private$make_request(rr)
   10.         └─crul:::crul_fetch(opts)
   11.           └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  ── Error ('test-bold_tax_id.R:125:3'): bold_tax_id fails well ──────────────────
  Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Could not resolve host: v4.boldsystems.org
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-bold_tax_id.R:125:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─bold::bold_tax_id(id = 88899, includeTree = 5)
    7.   └─base::lapply(...)
    8.     └─bold (local) FUN(X[[i]], ...)
    9.       └─bold:::.get_response_dep(...)
   10.         └─cli$get(query = args, ...)
   11.           └─private$make_request(rr)
   12.             └─crul:::crul_fetch(opts)
   13.               └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  [ FAIL 3 | WARN 17 | SKIP 59 | PASS 110 ]
  Error: Test failures
  Execution halted