Running 'AAAtest-all.R' [152s/166s]
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) (2020-02-26 r77861)
  Platform: x86_64-pc-linux-gnu (64-bit)
  Running under: Debian GNU/Linux bullseye/sid
  
  Matrix products: default
  BLAS:   /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRblas.so
  LAPACK: /home/hornik/tmp/R.check/r-devel-clang/Work/build/lib/libRlapack.so
  
  locale:
   [1] LC_CTYPE=en_US.iso885915       LC_NUMERIC=C                  
   [3] LC_TIME=en_US.iso885915        LC_COLLATE=C                  
   [5] LC_MONETARY=en_US.iso885915    LC_MESSAGES=en_US.iso885915   
   [7] LC_PAPER=en_US.iso885915       LC_NAME=C                     
   [9] LC_ADDRESS=C                   LC_TELEPHONE=C                
  [11] LC_MEASUREMENT=en_US.iso885915 LC_IDENTIFICATION=C           
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] glmmTMB_1.0.0  testthat_2.3.1
  
  loaded via a namespace (and not attached):
   [1] Rcpp_1.0.3       TMB_1.7.16       magrittr_1.5     splines_4.0.0   
   [5] MASS_7.3-51.5    xtable_1.8-4     lattice_0.20-40  R6_2.4.1        
   [9] rlang_0.4.4      multcomp_1.4-12  minqa_1.2.4      grid_4.0.0      
  [13] nlme_3.1-144     TH.data_1.0-10   coda_0.19-3      emmeans_1.4.4   
  [17] survival_3.1-8   lme4_1.1-21      Matrix_1.2-18    nloptr_1.2.1    
  [21] codetools_0.2-16 sandwich_2.5-1   estimability_1.3 compiler_4.0.0  
  [25] boot_1.3-24      mvtnorm_1.1-0    zoo_1.8-7       
  VarCorr: .............
  Very basic glmmTMB fitting: .................................
  trickier examples: ..............
  bootMer: ....
  glmmTMBControl: ...
  Testing dispersion: 1..
  emmeans: ...........
  car::Anova: .......
  effects: ..
  test edge cases: .
  basic examples: ...
  alternative binomial specifications: ..........
  non-integer count warnings: .......
  fitting exotic families: ..............................
  trunc compois: ...
  compois: ...
  genpois: ..
  tweedie: ......
  link function info available: ............
  link info added to family: ...
  formula parsing: ................
  mapping: ................
  alternate optimizers: ..
  basic methods: ............................................................
  simulate consistency with glm/lm: ...
  Ranef etc.: .......
  refit: ...
  offsets: ..........
  Predicting new levels: .....
  Catch invalid predictions: ...
  Predict two-column response case: .
  Prediction with dispformula=~0: .
  Handling NA values in predictions: .......
  prediction with different binomial specs: ..
  zero-inflation prediction: .....
  deprecated zitype parameter: .
  complex bases: .........2..
  REML: ......
  Saving and loading glmmTMB objects: .
  ....variance structures: ..............
  weight: .........
  ZI models: ..........
  
  == Failed ======================================================================
  -- 1. Failure: disp calc (@test-disp.R#35)  ------------------------------------
  unname(fixef(m0)$disp) not equal to c(log(10^2), log(5^2) - log(10^2)).
  2/2 mismatches (average diff: 2.09)
  [1] 3.21 -  4.61 == -1.39
  [2] 1.39 - -1.39 ==  2.78
  
  -- 2. Error: contrasts carried over (@test-predict.R#240)  ---------------------
  contrasts apply only to factors
  Backtrace:
   1. stats::`contrasts<-`(...) test-predict.R:240:4
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted