Running 'testthat.R' [17m]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("dataone")
  Loading required package: dataone
  Space required after the Public Identifier
  SystemLiteral " or ' expected
  SYSTEM or PUBLIC, the URI is missing
  Opening and ending tag mismatch: hr line 9 and body
  Opening and ending tag mismatch: body line 4 and html
  Premature end of data in tag html line 2
  -- 1. Error: CNode getObject() (@test.CNode.R#42)  -----------------------------
  1: Space required after the Public Identifier
  2: SystemLiteral " or ' expected
  3: SYSTEM or PUBLIC, the URI is missing
  4: Opening and ending tag mismatch: hr line 9 and body
  5: Opening and ending tag mismatch: body line 4 and html
  6: Premature end of data in tag html line 2
  1: getChecksum(cnProd, pid) at testthat/test.CNode.R:42
  2: getChecksum(cnProd, pid)
  3: .local(x, ...)
  4: xmlToList(xmlParse(resultText))
  5: xmlParse(resultText)
  6: (function (msg, ...) 
     {
         if (length(grep("\\\n$", msg)) == 0) 
             paste(msg, "\n", sep = "")
         if (immediate) 
             cat(msg)
         if (length(msg) == 0) {
             e = simpleError(paste(1:length(messages), messages, sep = ": ", collapse = ""))
             class(e) = c(class, class(e))
             stop(e)
         }
         messages <<- c(messages, msg)
     })(character(0))
  
   
   
   
  -- 2. Failure: CNode describeObject() (@test.CNode.R#58)  ----------------------
  `res` inherits from `NULL` not `list`.
  
  -- 3. Error: CNode describeObject() (@test.CNode.R#59)  ------------------------
  is.character(act$val) is not TRUE
  1: expect_match(res$`content-type`, "text/xml") at testthat/test.CNode.R:59
  2: stopifnot(is.character(act$val))
  
  Space required after the Public Identifier
  SystemLiteral " or ' expected
  SYSTEM or PUBLIC, the URI is missing
  Opening and ending tag mismatch: hr line 14 and body
  Opening and ending tag mismatch: body line 4 and html
  Premature end of data in tag html line 2
  -- 4. Error: Object listing works for CNode, MNode (@test.D1Node.R#69)  --------
  1: Space required after the Public Identifier
  2: SystemLiteral " or ' expected
  3: SYSTEM or PUBLIC, the URI is missing
  4: Opening and ending tag mismatch: hr line 14 and body
  5: Opening and ending tag mismatch: body line 4 and html
  6: Premature end of data in tag html line 2
  1: listObjects(cnProd, fromDate = fromDate, toDate = toDate, formatId = formatId, start = start, 
         count = count) at testthat/test.D1Node.R:69
  2: listObjects(cnProd, fromDate = fromDate, toDate = toDate, formatId = formatId, start = start, 
         count = count)
  3: .local(x, ...)
  4: xmlToList(xmlParse(resultText))
  5: xmlParse(resultText)
  6: (function (msg, ...) 
     {
         if (length(grep("\\\n$", msg)) == 0) 
             paste(msg, "\n", sep = "")
         if (immediate) 
             cat(msg)
         if (length(msg) == 0) {
             e = simpleError(paste(1:length(messages), messages, sep = ": ", collapse = ""))
             class(e) = c(class, class(e))
             stop(e)
         }
         messages <<- c(messages, msg)
     })(character(0))
  
  == testthat results  ===========================================================
  OK: 168 SKIPPED: 39 WARNINGS: 18 FAILED: 4
  1. Error: CNode getObject() (@test.CNode.R#42) 
  2. Failure: CNode describeObject() (@test.CNode.R#58) 
  3. Error: CNode describeObject() (@test.CNode.R#59) 
  4. Error: Object listing works for CNode, MNode (@test.D1Node.R#69) 
  
  Error: testthat unit tests failed
  Execution halted