Running ‘AAAtest-all.R’ [133s/296s]
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-03-04 r81849)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: Fedora 34 (Workstation Edition)
  
  Matrix products: default
  BLAS:   /data/gannet/ripley/R/R-clang/lib/libRblas.so
  LAPACK: /data/gannet/ripley/R/R-clang/lib/libRlapack.so
  
  locale:
   [1] LC_CTYPE=en_GB.utf8        LC_NUMERIC=C              
   [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=C              
   [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
   [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
   [9] LC_ADDRESS=C               LC_TELEPHONE=C            
  [11] LC_MEASUREMENT=en_GB.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.3-1     
  [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          
  OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  Anova: ..............
  VarCorr: .............
  altopt: 
  alternative optimizers: S
  basics: .............SS.....S......S
  trickier examples: SS.SSSS....
  bootMer: 
  bootMer: SS
  control: SS
  disp: ...
  downstream: 
  emmeans: .............
  effects: ..
  edgecases: 
  test edge cases: .
  env: 
  basic examples: ...
  families: 
  alternative binomial specifications: ..........
  non-integer count warnings: .......
  fitting exotic families: SSSSS
  trunc compois: S
  compois: S
  genpois: S
  tweedie: S.
  link function info available: ............
  link info added to family: ...
  formulas: 
  formula parsing: ................
  mapopt: 
  methods: 
  basic methods: ...........................S......................................
  simulate consistency with glm/lm: ...
  Ranef etc.: .......S...........
  offset: 
  offsets: SSSSSSSS
  predict: .....SSS
  Predict two-column response case: SS.................S..SSSS..S...S..
  reml: 
  REML: ......
  rr: .........
  saveload: 
  Saving and loading glmmTMB objects: .
  sparseX: 
  sparse X models: .......
  start: ..
  utils: .............
  varstruc: 
  variance structures: ........SSS
  weight: 
  weight: ....1....
  zi: 
  ZI models: SS
  
  ══ Skipped ═════════════════════════════════════════════════════════════════════
  1. downstream methods work with optim() (test-altopt.R:11:3) - Reason: On CRAN
  
  2. Update Gaussian (test-basics.R:67:3) - Reason: On CRAN
  
  3. Variance structures (test-basics.R:76:3) - Reason: On CRAN
  
  4. Multiple RE, reordering (test-basics.R:106:6) - Reason: On CRAN
  
  5. close to lme4 results (test-basics.R:141:5) - Reason: On CRAN
  
  6. basic zero inflation (test-basics.R:194:8) - Reason: On CRAN
  
  7. alternative binomial model specifications (test-basics.R:212:5) - Reason: On CRAN
  
  8. NA handling (test-basics.R:233:5) - Reason: On CRAN
  
  9. quine NB fit (test-basics.R:251:5) - Reason: On CRAN
  
  10. contrasts arg (test-basics.R:262:5) - Reason: On CRAN
  
  11. zero disp setting (test-basics.R:273:5) - Reason: On CRAN
  
  12. Bernoulli responses (test-bootMer.R:11:3) - Reason: On CRAN
  
  13. binomial responses (test-bootMer.R:21:5) - Reason: On CRAN
  
  14. profile method (test-control.R:16:3) - Reason: On CRAN
  
  15. parallel regions (test-control.R:50:3) - Reason: On CRAN
  
  16. beta (test-families.R:90:3) - Reason: On CRAN
  
  17. nbinom (test-families.R:112:5) - Reason: On CRAN
  
  18. dbetabinom (test-families.R:167:5) - Reason: On CRAN
  
  19. truncated (test-families.R:240:5) - Reason: On CRAN
  
  20. truncated_genpois (test-families.R:317:3) - Reason: On CRAN
  
  21. truncated_compois (test-families.R:334:5) - Reason: On CRAN
  
  22. compois (test-families.R:345:5) - Reason: On CRAN
  
  23. genpois (test-families.R:356:5) - Reason: On CRAN
  
  24. tweedie (test-families.R:365:5) - Reason: On CRAN
  
  25. anova ML/REML checks (test-methods.R:115:5) - Reason: On CRAN
  
  26. various binomial response types work (test-methods.R:398:3) - Reason: On CRAN
  
  27. LM with offset as argument (test-offset.R:29:3) - Reason: On CRAN
  
  28. LM with offset in formula (test-offset.R:37:5) - Reason: On CRAN
  
  29. LM with offset in formula - variable not in environment (test-offset.R:50:5) - Reason: On CRAN
  
  30. LM with offset in dispersion formula (test-offset.R:59:5) - Reason: On CRAN
  
  31. LM with multiple offsets (cond/dispersion) (test-offset.R:67:5) - Reason: On CRAN
  
  32. LM with random crap in the formula (test-offset.R:76:5) - Reason: On CRAN
  
  33. offset in do.call (test-offset.R:83:5) - Reason: On CRAN
  
  34. LONG offset in do.call (test-offset.R:92:5) - Reason: On CRAN
  
  35. new levels of fixed effect factor (test-predict.R:40:5) - Reason: On CRAN
  
  36. new levels in RE term (test-predict.R:47:5) - Reason: On CRAN
  
  37. new levels in AR1 (OK) (test-predict.R:54:5) - Reason: On CRAN
  
  38. two-column response (test-predict.R:64:5) - Reason: On CRAN
  
  39. Prediction with dispformula=~0 (test-predict.R:72:5) - Reason: On CRAN
  
  40. scale (test-predict.R:186:5) - Reason: On CRAN
  
  41. scale_RE (test-predict.R:208:5) - Reason: On CRAN
  
  42. complex bases in dispformula (test-predict.R:215:5) - Reason: On CRAN
  
  43. fix_predvars works for I(x^2) (test-predict.R:227:5) - Reason: On CRAN
  
  44. contrasts carried over (test-predict.R:247:5) - Reason: On CRAN
  
  45. offset-only model (GH #625) (test-predict.R:286:5) - Reason: On CRAN
  
  46. inverse-link prediction (test-predict.R:305:3) - Reason: On CRAN
  
  47. ar1 requires factor time (test-varstruc.R:52:3) - Reason: On CRAN
  
  48. varcorr_print (test-varstruc.R:72:5) - Reason: On CRAN
  
  49. cov_struct_order (test-varstruc.R:98:5) - Reason: On CRAN
  
  50. zi (test-zi.R:12:3) - Reason: On CRAN
  
  51. zi beta and Gamma (test-zi.R:37:5) - Reason: On CRAN
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Failure (test-weight.R:48:3): Return weights ─────────────────────────────
  `weights(wei_glmmtmb, type = "working")` threw an error with unexpected message.
  Expected match: "should be one of"
  Actual message: "'arg' should be \"prior\""
  Backtrace:
   1. testthat::expect_error(...)
        at test-weight.R:48:2
   7. glmmTMB:::weights.glmmTMB(wei_glmmtmb, type = "working")
   8. base::match.arg(type)
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error: Test failures
  Execution halted