Running ‘testthat.R’ [77s/99s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > library(testthat)
  > library(RxODE)
  > test_check("RxODE")
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  
  Traceback:
   1: self$results$push(list(file = self$current_file %||% NA_character_,     context = context, test = test, user = elapsed[1], system = elapsed[2],     real = elapsed[3], results = self$current_expectations$as_list()))
   2: x[[method]](...)
   3: FUN(X[[i]], ...)
   4: lapply(objects, function(x) x[[method]](...))
   5: o_apply(self$reporters, "end_test", context, test)
   6: get_reporter()$end_test(context = get_reporter()$.context, test = test)
   7: test_code(desc, code, env = parent.frame())
   8: test_that("diagonal indicator give correct values", {    tmp <- rxSymInvCholCreate(matrix(c(1, 0.9, 0, 0.9, 1, 0,         0, 0, 1), ncol = 3))    expect_equal(tmp$theta.diag, c(TRUE, FALSE, TRUE, TRUE))    tmp <- rxSymInvCholCreate(matrix(c(1, 0.9, 0.9, 1), ncol = 2))    expect_equal(tmp$theta.diag, c(TRUE, FALSE, TRUE))})
   9: eval(code, test_env)
  10: eval(code, test_env)
  11: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  12: doTryCatch(return(expr), name, parentenv, handler)
  13: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  14: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  15: doTryCatch(return(expr), name, parentenv, handler)
  16: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  17: tryCatchList(expr, classes, parentenv, handlers)
  18: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  19: test_code(NULL, exprs, env)
  20: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  21: force(code)
  22: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        reporter$start_file(basename(path))        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        reporter$.end_context()        reporter$end_file()    })
  23: FUN(X[[i]], ...)
  24: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  25: force(code)
  26: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  27: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  28: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  29: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  30: test_check("RxODE")
  An irrecoverable exception occurred. R is aborting now ...