Running ‘testthat.R’ [1m/20m]
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#334) ------------------
  class(result)[1] does not match "XMLInternalDocument".
  Actual value: "NULL"
  
  
  2. Error: D1Client d1SolrQuery works (@test.D1Client.R#335) --------------------
  no applicable method for 'xmlAttrs' applied to an object of class "NULL"
  1: xmlToList(result) at testthat/test.D1Client.R:335
  2: xmlAttrs(node)
  
  3. Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#365) -----------
  class(result) does not match "character".
  Actual value: "NULL"
  
  
  4. Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#366) -----------
  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.D1Node.R#25) 
  length(result) == 2 isn't true.
  
  
  6. Error: CNode object index query works with query list param (@test.D1Node.R#26) 
  is.character(object) is not TRUE
  1: expect_match(result[[2]]$id, "doi:") at testthat/test.D1Node.R:26
  2: stopifnot(is.character(object))
  3: stop(msg, call. = FALSE, domain = NA)
  
  7. Failure: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#107) 
  length(engineDesc) is not strictly more than 0. Difference: 0
  
  
  8. Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#108) 
  is.character(object) is not TRUE
  1: expect_match(engineDesc$name, engines[[i]]) at testthat/test.D1Node.R:108
  2: stopifnot(is.character(object))
  3: stop(msg, call. = FALSE, domain = NA)
  
  9. Failure: CNode object index query works with query string param (@test.D1Node.R#138) 
  length(result) == 2 isn't true.
  
  
  10. Error: CNode object index query works with query string param (@test.D1Node.R#139) 
  is.character(object) is not TRUE
  1: expect_match(result[[2]]$id, "doi:") at testthat/test.D1Node.R:139
  2: stopifnot(is.character(object))
  3: stop(msg, call. = FALSE, domain = NA)
  
  testthat results ================================================================
  OK: 171 SKIPPED: 31 FAILED: 10
  1.  Failure: D1Client d1SolrQuery works (@test.D1Client.R#334) 
  2.  Error: D1Client d1SolrQuery works (@test.D1Client.R#335) 
  3.  Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#365) 
  4.  Failure: D1Client d1IdentifierSearch works (@test.D1Client.R#366) 
  5.  Failure: CNode object index query works with query list param (@test.D1Node.R#25) 
  6.  Error: CNode object index query works with query list param (@test.D1Node.R#26) 
  7.  Failure: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#107) 
  8.  Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#108) 
  9.  Failure: CNode object index query works with query string param (@test.D1Node.R#138) 
  10. Error: CNode object index query works with query string param (@test.D1Node.R#139) 
  
  Error: testthat unit tests failed
  Execution halted