Running ‘testthat.R’ [6s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rptR)
  > 
  > test_check("rptR")
  
   *** caught segfault ***
  address ff0b08, cause 'memory not mapped'
  
  Traceback:
   1: as.data.frame(fgq_rules[[ord]])
   2: GHrule(nAGQ)
   3: updateGlmerDevfun(devfun, glmod$reTrms, nAGQ = nAGQ)
   4: lme4::glmer(formula, data = data, family = stats::poisson(link = link))
   5: rptPoisson(formula, grname, data, link, CI, nboot, npermut, parallel,     ncores, ratio, adjusted, expect)
   6: rpt(Egg ~ Treatment + (1 | Container), grname = c("Container"),     data = BeetlesFemale, nboot = 0, npermut = 0, datatype = "Poisson")
   7: doTryCatch(return(expr), name, parentenv, handler)
   8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9: tryCatchList(expr, classes, parentenv, handlers)
  10: tryCatch({    object    NULL}, error = function(e) {    e})
  11: expect_error(rpt(Egg ~ Treatment + (1 | Container), grname = c("Container"),     data = BeetlesFemale, nboot = 0, npermut = 0, datatype = "Poisson"),     NA)
  12: eval(expr, envir, enclos)
  13: eval(code, test_env)
  14: withCallingHandlers(eval(code, test_env), expectation = handle_expectation,     skip = handle_skip, warning = handle_warning, message = handle_message,     error = handle_error)
  15: doTryCatch(return(expr), name, parentenv, handler)
  16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  17: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  18: doTryCatch(return(expr), name, parentenv, handler)
  19: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  20: tryCatchList(expr, classes, parentenv, handlers)
  21: tryCatch(withCallingHandlers(eval(code, test_env), expectation = handle_expectation,     skip = handle_skip, warning = handle_warning, message = handle_message,     error = handle_error), error = function(e) {}, skip = function(e) {})
  22: test_code(desc, code, env = parent.frame())
  23: test_that("wrapper function rpt works for all distributions without perm or boot and defaults",     {        expect_error(rpt(BodyL ~ (1 | Population), grname = "Population",             data = BeetlesBody, nboot = 0, npermut = 0, datatype = "Gaussian"),             NA)        expect_error(rpt(Egg ~ Treatment + (1 | Container), grname = c("Container"),             data = BeetlesFemale, nboot = 0, npermut = 0, datatype = "Poisson"),             NA)        expect_error(rpt(Colour ~ (1 | Population), grname = c("Population"),             data = BeetlesMale, nboot = 5, npermut = 0, datatype = "Binary"),             NA)        expect_error(rpt(cbind(Dark, Reddish) ~ (1 | Population),             grname = c("Population"), data = md, nboot = 0, npermut = 0,             datatype = "Proportion"), NA)    })
  24: eval(expr, envir, enclos)
  25: eval(exprs, env)
  26: source_file(path, new.env(parent = env), chdir = TRUE)
  27: force(code)
  28: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE)        end_context()    })
  29: FUN(X[[i]], ...)
  30: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
  31: force(code)
  32: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  33: test_files(paths, reporter = reporter, env = env, ...)
  34: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
  35: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
  36: run_tests(package, test_path, filter, reporter, ...)
  37: test_check("rptR")
  An irrecoverable exception occurred. R is aborting now ...