Running ‘testthat.R’ [25s/135s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("dataone")
  Loading required package: dataone
  ── 1. Error: CNode getObject() (@test.CNode.R#37)  ─────────────────────────────
  Timeout was reached: [cn.dataone.org] Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  Backtrace:
   1. dataone::getObject(cnProd, pid)
   2. dataone::getObject(cnProd, pid)
   3. dataone:::.local(x, ...)
   4. dataone:::auth_get(url, node = x)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: CNode getSystemMetadata() (@test.CNode.R#54)  ─────────────────────
  Timeout was reached: [cn.dataone.org] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  Backtrace:
   1. dataone::getSystemMetadata(cnProd, pid)
   2. dataone::getSystemMetadata(cnProd, pid)
   3. dataone:::.local(x, ...)
   4. dataone:::auth_get(url, node = x)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: CNode describeObject() (@test.CNode.R#62)  ────────────────────────
  Timeout was reached: [cn.dataone.org] Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  Backtrace:
   1. dataone::describeObject(cnProd, pid)
   2. dataone::describeObject(cnProd, pid)
   3. dataone:::.local(x, ...)
   4. dataone:::auth_get(url, node = x)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: CNode resolve() (@test.CNode.R#86)  ───────────────────────────────
  Timeout was reached: [cn.dataone.org] Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  Backtrace:
   1. dataone::resolve(cnProd, id)
   2. dataone::resolve(cnProd, id)
   3. dataone:::.local(x, ...)
   4. dataone:::auth_get(url, nconfig = config, node = x)
   5. httr::GET(...)
   6. httr:::request_perform(req, hu$handle$handle)
   8. httr:::request_fetch.write_memory(req$output, req$url, handle)
   9. curl::curl_fetch_memory(url, handle = handle)
  
  ── 5. Failure: CNode object index query works with query string param (@test.D1N
  length(result) == 2 isn't true.
  
  ── 6. Error: CNode object index query works with query string param (@test.D1Nod
  is.character(act$val) is not TRUE
  Backtrace:
   1. testthat::expect_match(result[[2]]$id, "doi:")
   2. base::stopifnot(is.character(act$val))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 146 | SKIPPED: 37 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: CNode getObject() (@test.CNode.R#37) 
  2. Error: CNode getSystemMetadata() (@test.CNode.R#54) 
  3. Error: CNode describeObject() (@test.CNode.R#62) 
  4. Error: CNode resolve() (@test.CNode.R#86) 
  5. Failure: CNode object index query works with query string param (@test.D1Node.R#141) 
  6. Error: CNode object index query works with query string param (@test.D1Node.R#142) 
  
  Error: testthat unit tests failed
  Execution halted