Running ‘testthat.R’ [18s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("dataone")
  Loading required package: dataone
  Entity 'middot' not defined
  Opening and ending tag mismatch: meta line 6 and head
  Opening and ending tag mismatch: br line 6 and p
  Entity 'mdash' not defined
  Opening and ending tag mismatch: img line 6 and a
  Opening and ending tag mismatch: img line 6 and a
  Opening and ending tag mismatch: a line 6 and div
  Opening and ending tag mismatch: a line 6 and body
  Opening and ending tag mismatch: p line 6 and html
  EndTag: '</' not found
  ── 1. Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode 
  1: Entity 'middot' not defined
  2: Opening and ending tag mismatch: meta line 6 and head
  3: Opening and ending tag mismatch: br line 6 and p
  4: Entity 'mdash' not defined
  5: Opening and ending tag mismatch: img line 6 and a
  6: Opening and ending tag mismatch: img line 6 and a
  7: Opening and ending tag mismatch: a line 6 and div
  8: Opening and ending tag mismatch: a line 6 and body
  9: Opening and ending tag mismatch: p line 6 and html
  10: EndTag: '</' not found
  Backtrace:
  
  ── 2. Failure: MNode object index query works (@test.D1Node.R#160)  ────────────
  length(result) > 0 isn't true.
  
  ── 3. Failure: MNode object index query works (@test.D1Node.R#162)  ────────────
  `pid` inherits from `NULL` not `character`.
  
  ── 4. Error: MNode object index query works (@test.D1Node.R#163)  ──────────────
  is.character(act$val) is not TRUE
  Backtrace:
   1. testthat::expect_match(pid, "doi:")
   2. base::stopifnot(is.character(act$val))
  
  ── 5. Error: MNode constructors (@test.MNode.R#9)  ─────────────────────────────
  Client error: (404) Not Found
  Backtrace:
   1. dataone::MNode(mn_uri)
   2. dataone::MNode(mn_uri)
   4. dataone::getCapabilities(mnode)
   5. dataone:::.local(x, ...)
  
  ── 6. Error: MNode getCapabilities() (@test.MNode.R#18)  ───────────────────────
  Client error: (404) Not Found
  Backtrace:
   1. dataone::getCapabilities(mnKNB)
   2. dataone::getCapabilities(mnKNB)
   3. dataone:::.local(x, ...)
  
  ── 7. Error: MNode getObject(), getChecksum() (@test.MNode.R#29)  ──────────────
  get() error: Client error: (404) Not Found
  Backtrace:
   1. dataone::getObject(mnKNB, pid)
   2. dataone::getObject(mnKNB, pid)
   3. dataone:::.local(x, ...)
  
  ── 8. Failure: MNode getSystemMetadata() (@test.MNode.R#56)  ───────────────────
  `cname` does not match "SystemMetadata".
  Actual value: "NULL"
  
  ── 9. Error: MNode getSystemMetadata() (@test.MNode.R#57)  ─────────────────────
  trying to get slot "identifier" from an object of a basic class ("NULL") with no slots
  Backtrace:
   1. testthat::expect_match(sysmeta@identifier, "doi:10.5063/F1QN64NZ")
   2. testthat::quasi_label(enquo(object), label, arg = "object")
   3. rlang::eval_bare(expr, quo_get_env(quo))
  
   
   
   
  ── 10. Failure: MNode describeObject() (@test.MNode.R#109)  ────────────────────
  `res` inherits from `NULL` not `list`.
  
  ── 11. Failure: MNode describeObject() (@test.MNode.R#110)  ────────────────────
  res$`content-type` not equal to "text/xml".
  target is NULL, current is character
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 131 | SKIPPED: 37 | WARNINGS: 1 | FAILED: 11 ]
  1. Error: listQueryEngines, getQueryEngineDescription works for CNode, MNode (@test.D1Node.R#117) 
  2. Failure: MNode object index query works (@test.D1Node.R#160) 
  3. Failure: MNode object index query works (@test.D1Node.R#162) 
  4. Error: MNode object index query works (@test.D1Node.R#163) 
  5. Error: MNode constructors (@test.MNode.R#9) 
  6. Error: MNode getCapabilities() (@test.MNode.R#18) 
  7. Error: MNode getObject(), getChecksum() (@test.MNode.R#29) 
  8. Failure: MNode getSystemMetadata() (@test.MNode.R#56) 
  9. Error: MNode getSystemMetadata() (@test.MNode.R#57) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted