Running ‘AAAtest-all.R’ [3s/5s]
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 Under development (unstable) (2022-02-23 r81801)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: Debian GNU/Linux bookworm/sid
  
  Matrix products: default
  BLAS:   /home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib/libRblas.so
  LAPACK: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib/libRlapack.so
  
  locale:
   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
   [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
   [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
   [9] LC_ADDRESS=C               LC_TELEPHONE=C            
  [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] glmmTMB_1.1.2.3 testthat_3.1.2 
  
  loaded via a namespace (and not attached):
   [1] Rcpp_1.0.8          TMB_1.7.22          magrittr_2.0.2     
   [4] splines_4.2.0       MASS_7.3-55         xtable_1.8-4       
   [7] lattice_0.20-45     R6_2.5.1            rlang_1.0.1        
  [10] multcomp_1.4-18     minqa_1.2.4         grid_4.2.0         
  [13] nlme_3.1-155        TH.data_1.1-0       cli_3.2.0          
  [16] coda_0.19-4         emmeans_1.7.2       survival_3.2-13    
  [19] lme4_1.1-28         numDeriv_2016.8-1.1 brio_1.1.3         
  [22] Matrix_1.4-0        nloptr_2.0.0        codetools_0.2-18   
  [25] sandwich_3.0-1      estimability_1.3    compiler_4.2.0     
  [28] boot_1.3-28         mvtnorm_1.1-3       zoo_1.8-9          
  
   *** caught segfault ***
  address 0x55a8386f9001, cause 'memory not mapped'
  
  Traceback:
   1: retape(set.defaults = TRUE)
   2: TMB::MakeADFun(data, parameters, map = map, random = random,     silent = silent, DLL = "glmmTMB")
   3: eval(substitute(expr), data, enclos = parent.frame())
   4: eval(substitute(expr), data, enclos = parent.frame())
   5: with.default(obj$env, TMB::MakeADFun(data, parameters, map = map,     random = random, silent = silent, DLL = "glmmTMB"))
   6: with(obj$env, TMB::MakeADFun(data, parameters, map = map, random = random,     silent = silent, DLL = "glmmTMB"))
   7: up2date(get(m))
   8: assign(m, up2date(get(m)))
   9: gt_load("test_data/models.rda")
  10: eval(exprs, env)
  11: eval(exprs, env)
  12: FUN(X[[i]], ...)
  13: lapply(files, source_file, env = env, chdir = chdir, wrap = wrap)
  14: source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
  15: source_test_setup(".", env)
  16: test_files_setup_state(test_dir, test_package, load_helpers,     env)
  17: 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)
  18: 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)
  19: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  20: test_check(pkg, reporter = "summary")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault