Running ‘testthat.R’ [22s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("dataone")
  Loading required package: dataone
  ── 1. Failure: D1Client d1SolrQuery works (@test.D1Client.R#402)  ──────────────
  class\(result\)\[1\] does not match "XMLInternalDocument".
  Actual value: "NULL"
  
  ── 2. Error: D1Client d1SolrQuery works (@test.D1Client.R#403)  ────────────────
  no applicable method for 'xmlAttrs' applied to an object of class "NULL"
  1: xmlToList(result) at testthat/test.D1Client.R:403
  2: xmlAttrs(node)
  
  ── 3. Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#433)  ───────
  class\(result\) does not match "character".
  Actual value: "NULL"
  
  ── 4. Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#434)  ───────
  length(result) not equal to 2.
  1/1 mismatches
  [1] 0 - 2 == -2
  
  ── 5. Failure: CNode object index query works with query list param (@test.D1Nod
  length(result) == 2 isn't true.
  
  ── 6. Error: CNode object index query works with query list param (@test.D1Node.
  is.character(act$val) is not TRUE
  1: expect_match(result[[2]]$id, "doi:") at testthat/test.D1Node.R:25
  2: stopifnot(is.character(act$val))
  
  ── 7. Failure: listQueryEngines, getQueryEngineDescription works for CNode, MNod
  length(engineDesc) is not strictly more than 0. Difference: 0
  
  ── 8. Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode 
  is.character(act$val) is not TRUE
  1: expect_match(engineDesc$name, engines[[i]]) at testthat/test.D1Node.R:106
  2: stopifnot(is.character(act$val))
  
  ── 9. Failure: CNode object index query works with query string param (@test.D1N
  length(result) == 2 isn't true.
  
  ── 10. Error: CNode object index query works with query string param (@test.D1No
  is.character(act$val) is not TRUE
  1: expect_match(result[[2]]$id, "doi:") at testthat/test.D1Node.R:136
  2: stopifnot(is.character(act$val))
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 156 SKIPPED: 39 WARNINGS: 19 FAILED: 10
  1.  Failure: D1Client d1SolrQuery works (@test.D1Client.R#402) 
  2.  Error: D1Client d1SolrQuery works (@test.D1Client.R#403) 
  3.  Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#433) 
  4.  Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#434) 
  5.  Failure: CNode object index query works with query list param (@test.D1Node.R#24) 
  6.  Error: CNode object index query works with query list param (@test.D1Node.R#25) 
  7.  Failure: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#105) 
  8.  Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#106) 
  9.  Failure: CNode object index query works with query string param (@test.D1Node.R#135) 
  10. Error: CNode object index query works with query string param (@test.D1Node.R#136) 
  
  Error: testthat unit tests failed
  Execution halted