Running ‘RUnit.R’ [56s/69s]
Running the tests in ‘tests/RUnit.R’ failed.
Complete output:
  > if (requireNamespace("RUnit", quietly=TRUE) && requireNamespace("RcppXPtrUtils", quietly=TRUE) && requireNamespace("r2sundials", quietly=TRUE) && requireNamespace("RcppArmadillo", quietly=TRUE)) {
  +    library(RUnit)
  +    library(RcppXPtrUtils)
  +    library(r2sundials)
  +    library(RcppArmadillo)
  + 
  +    testSuite <- defineTestSuite(
  +       name = "r2sundials unit tests",
  +       dirs = system.file("unitTests", package = "r2sundials"),
  +       testFuncRegexp = "^[Tt]est.+"
  +    )
  +    Sys.setenv("R_TESTS"="")
  +    tests <- runTestSuite(testSuite)
  + 
  +    printTextProtocol(tests)
  + 
  +    if (getErrors(tests)$nFail > 0) stop("RUnit test failure")
  +    if (getErrors(tests)$nErr > 0) stop("Errors in RUnit tests")
  + }
  Loading required package: rmumps
  
   *** caught segfault ***
  address 4e7b5416, cause 'memory not mapped'
  
  Traceback:
   1: r2sundials::r2cvodes(yini, times, pfnd, param = parms, maxsteps = 2000)
   2: eval(exprs[i], envir)
   3: eval(exprs[i], envir)
   4: sys.source(absTestFileName, envir = sandbox)
   5: doTryCatch(return(expr), name, parentenv, handler)
   6: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7: tryCatchList(expr, classes, parentenv, handlers)
   8: tryCatch(expr, error = function(e) {    call <- conditionCall(e)    if (!is.null(call)) {        if (identical(call[[1L]], quote(doTryCatch)))             call <- sys.call(-4L)        dcall <- deparse(call)[1L]        prefix <- paste("Error in", dcall, ": ")        LONG <- 75L        sm <- strsplit(conditionMessage(e), "\n")[[1L]]        w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w")        if (is.na(w))             w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L],                 type = "b")        if (w > LONG)             prefix <- paste0(prefix, "\n  ")    }    else prefix <- "Error : "    msg <- paste0(prefix, conditionMessage(e), "\n")    .Internal(seterrmessage(msg[1L]))    if (!silent && isTRUE(getOption("show.error.messages"))) {        cat(msg, file = outFile)        .Internal(printDeferredWarnings())    }    invisible(structure(msg, class = "try-error", condition = e))})
   9: try(sys.source(absTestFileName, envir = sandbox))
  10: .sourceTestFile(testFile, testSuite$testFuncRegexp)
  11: runTestSuite(testSuite)
  An irrecoverable exception occurred. R is aborting now ...