Running ‘AAAtest-all.R’ [15s/45s]
Running the tests in ‘tests/AAAtest-all.R’ failed.
Complete output:
  > if (require("testthat")) {
  +     pkg <- "glmmTMB"
  +     require(pkg, character.only=TRUE)
  +     print(sessionInfo())
  +     test_check(pkg, reporter="summary")
  +     print(warnings()) # TODO? catch most of these by expect_warning(..)
  + } else {
  +     warnings("Package 'testthat' not available, cannot run unit tests for package",
  + 	     sQuote(pkg))
  + }
  Loading required package: testthat
  Loading required package: glmmTMB
  R version 4.1.0 Patched (2021-07-16 r80640)
  Platform: i386-pc-solaris2.10 (32-bit)
  Running under: Solaris 10
  
  Matrix products: default
  BLAS:   /home/ripley/R/cc/lib/libRblas.so
  LAPACK: /home/ripley/R/cc/lib/libRlapack.so
  
  locale:
  [1] /en_GB.UTF-8/C/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] glmmTMB_1.1.2  testthat_3.0.4
  
  loaded via a namespace (and not attached):
   [1] Rcpp_1.0.7          TMB_1.7.20          magrittr_2.0.1     
   [4] splines_4.1.0       MASS_7.3-54         xtable_1.8-4       
   [7] lattice_0.20-44     R6_2.5.0            rlang_0.4.11       
  [10] multcomp_1.4-17     minqa_1.2.4         grid_4.1.0         
  [13] nlme_3.1-152        TH.data_1.0-10      coda_0.19-4        
  [16] emmeans_1.6.2-1     survival_3.2-11     lme4_1.1-27.1      
  [19] numDeriv_2016.8-1.1 Matrix_1.3-4        nloptr_1.2.2.2     
  [22] codetools_0.2-18    sandwich_3.0-1      estimability_1.3   
  [25] compiler_4.1.0      boot_1.3-28         mvtnorm_1.1-2      
  [28] zoo_1.8-9          
  Warning: namespace 'GLMMadaptive' is not available and has been replaced
  by .GlobalEnv when processing object 'fit'
  Anova: ..
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  
   *** caught segfault ***
  address 29cecf48, cause 'memory not mapped'
  
  Traceback:
   1: retape(set.defaults = TRUE)
   2: MakeADFun(data.tmb, parameters, map = mapArg, random = randomArg,     profile = NULL, silent = !verbose, DLL = "glmmTMB")
   3: eval(substitute(expr), data, enclos = parent.frame())
   4: eval(substitute(expr), data, enclos = parent.frame())
   5: with.default(TMBStruc, MakeADFun(data.tmb, parameters, map = mapArg,     random = randomArg, profile = NULL, silent = !verbose, DLL = "glmmTMB"))
   6: with(TMBStruc, MakeADFun(data.tmb, parameters, map = mapArg,     random = randomArg, profile = NULL, silent = !verbose, DLL = "glmmTMB"))
   7: fitTMB(TMBStruc)
   8: glmmTMB(Reaction ~ Days + (1 | Subject), disp = ~I(Days > 5),     sleepstudy, REML = FALSE)
   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, child_env(env), wrap = wrap)
  21: FUN(X[[i]], ...)
  22: lapply(test_paths, test_one_file, env = env, wrap = wrap)
  23: force(code)
  24: doWithOneRestart(return(expr), restart)
  25: withOneRestart(expr, restarts[[1L]])
  26: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  27: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  28: test_files(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package)
  29: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package, parallel = parallel)
  30: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  31: test_check(pkg, reporter = "summary")
  An irrecoverable exception occurred. R is aborting now ...
  
  Traceback:
   1: retape(set.defaults = TRUE)
   2: MakeADFun(data.tmb, parameters, map = mapArg, random = randomArg,     profile = NULL, silent = !verbose, DLL = "glmmTMB")
   3: eval(substitute(expr), data, enclos = parent.frame())
   4: eval(substitute(expr), data, enclos = parent.frame())
   5: with.default(TMBStruc, MakeADFun(data.tmb, parameters, map = mapArg,     random = randomArg, profile = NULL, silent = !verbose, DLL = "glmmTMB"))
   6: with(TMBStruc, MakeADFun(data.tmb, parameters, map = mapArg,     random = randomArg, profile = NULL, silent = !verbose, DLL = "glmmTMB"))
   7: fitTMB(TMBStruc)
   8: glmmTMB(Reaction ~ Days + (1 | Subject), disp = ~I(Days > 5),     sleepstudy, REML = FALSE)
   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, child_env(env), wrap = wrap)
  21: FUN(X[[i]], ...)
  22: lapply(test_paths, test_one_file, env = env, wrap = wrap)
  23: force(code)
  24: doWithOneRestart(return(expr), restart)
  25: withOneRestart(expr, restarts[[1L]])
  26: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  27: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  28: test_files(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package)
  29: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap, load_package = load_package, parallel = parallel)
  30: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  31: test_check(pkg, reporter = "summary")
  An irrecoverable exception occurred. R is aborting now ...