Running ‘testthat.R’ [88s/118s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(EML)
  > 
  > test_check("EML")
  sh: +RTS:  not found
  1. Error: We return TRUE when validating a valid just created eml object with latin1 encoding (@test-validation.R#75) 
  pandoc document conversion failed with error 127
  1: source(ex) at testthat/test-validation.R:75
  2: withVisible(eval(ei, envir))
  3: eval(ei, envir)
  4: eval(ei, envir)
  5: set_methods(methods_file)
  6: new("methods", sampling = sampling, methodStep = new("methodStep", instrumentation = instrumentation, 
         software = software, description = as(set_TextType(methods_file), "description")))
  7: initialize(value, ...)
  8: initialize(value, ...)
  9: .local(.Object, ...)
  10: c_as(methodStep, "methodStep")
  11: is(x, cls)
  12: new("methodStep", instrumentation = instrumentation, software = software, description = as(set_TextType(methods_file), 
         "description"))
  13: initialize(value, ...)
  14: initialize(value, ...)
  15: .local(.Object, ...)
  16: as(description, "description")
  17: .class1(object)
  18: as(set_TextType(methods_file), "description")
  19: .class1(object)
  20: set_TextType(methods_file)
  21: to_docbook(file)
  22: pandoc_convert(basename(file), to = "docbook", output = normalizePath(docbook_file, 
         winslash = "/", mustWork = FALSE), options = "-s")
  23: stop("pandoc document conversion failed with error ", result, call. = FALSE)
  
  sh: +RTS:  not found
  2. Error: We return TRUE when validating a valid just created eml object (@test-validation.R#89) 
  pandoc document conversion failed with error 127
  1: source(ex) at testthat/test-validation.R:89
  2: withVisible(eval(ei, envir))
  3: eval(ei, envir)
  4: eval(ei, envir)
  5: set_methods(methods_file)
  6: new("methods", sampling = sampling, methodStep = new("methodStep", instrumentation = instrumentation, 
         software = software, description = as(set_TextType(methods_file), "description")))
  7: initialize(value, ...)
  8: initialize(value, ...)
  9: .local(.Object, ...)
  10: c_as(methodStep, "methodStep")
  11: is(x, cls)
  12: new("methodStep", instrumentation = instrumentation, software = software, description = as(set_TextType(methods_file), 
         "description"))
  13: initialize(value, ...)
  14: initialize(value, ...)
  15: .local(.Object, ...)
  16: as(description, "description")
  17: .class1(object)
  18: as(set_TextType(methods_file), "description")
  19: .class1(object)
  20: set_TextType(methods_file)
  21: to_docbook(file)
  22: pandoc_convert(basename(file), to = "docbook", output = normalizePath(docbook_file, 
         winslash = "/", mustWork = FALSE), options = "-s")
  23: stop("pandoc document conversion failed with error ", result, call. = FALSE)
  
  testthat results ================================================================
  OK: 62 SKIPPED: 5 FAILED: 2
  1. Error: We return TRUE when validating a valid just created eml object with latin1 encoding (@test-validation.R#75) 
  2. Error: We return TRUE when validating a valid just created eml object (@test-validation.R#89) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: Person Carl Boettiger <cboettig@gmail.com> was not given any role. 
  2: Person Matthew B. Jones was not given any role. 
  Execution halted