Running ‘AAAtest-all.R’ [147s/178s]
  Running ‘HSAURtrees.R’ [3s/4s]
  Running ‘REMLdev.R’ [3s/3s]
  Running ‘ST.R’ [3s/4s]
  Running ‘agridat_gotway.R’ [5s/6s]
  Running ‘bootMer.R’ [7s/18s]
  Running ‘boundary.R’ [19s/22s]
  Running ‘confint.R’ [5s/6s]
  Running ‘devCritFun.R’ [3s/3s]
  Running ‘drop.R’ [4s/4s]
  Running ‘drop1contrasts.R’ [3s/5s]
  Running ‘dynload.R’ [0s/1s]
  Running ‘elston.R’ [3s/4s]
  Running ‘evalCall.R’ [3s/4s]
  Running ‘extras.R’ [3s/3s]
  Running ‘falsezero_dorie.R’ [3s/4s]
  Running ‘fewlevels.R’ [0s/0s]
  Running ‘getME.R’ [3s/5s]
  Running ‘glmer-1.R’ [5s/7s]
  Running ‘glmerControlPass.R’ [7s/8s]
  Running ‘glmerWarn.R’ [4s/5s]
  Running ‘glmmExt.R’ [7s/9s]
  Running ‘glmmWeights.R’ [7s/9s]
  Running ‘hatvalues.R’ [3s/4s]
  Running ‘is.R’ [3s/4s]
  Running ‘lmList-tst.R’ [3s/4s]
  Running ‘lme4_nlme.R’ [3s/4s]
  Running ‘lmer-0.R’ [3s/4s]
  Running ‘lmer-1.R’ [3s/3s]
  Running ‘lmer-conv.R’ [3s/3s]
  Running ‘lmer2_ex.R’ [3s/3s]
  Running ‘methods.R’ [4s/5s]
  Running ‘minval.R’ [3s/3s]
  Running ‘modFormula.R’ [5s/6s]
  Running ‘nbinom.R’ [3s/3s]
  Running ‘nlmer-conv.R’ [3s/4s]
  Running ‘nlmer.R’ [3s/4s]
  Running ‘offset.R’ [4s/5s]
  Running ‘optimizer.R’ [5s/6s]
  Running ‘polytomous.R’ [3s/3s]
  Running ‘prLogistic.R’ [3s/3s]
  Running ‘predict_basis.R’ [3s/4s]
  Running ‘predsim.R’ [4s/4s]
  Running ‘priorWeights.R’ [6s/7s]
  Running ‘priorWeightsModComp.R’ [4s/5s]
  Running ‘profile-tst.R’ [3s/3s]
  Running ‘refit.R’ [3s/4s]
  Running ‘resids.R’ [3s/4s]
  Running ‘respiratory.R’ [4s/5s]
  Running ‘simulate.R’ [3s/3s]
  Running ‘test-glmernbref.R’ [4s/5s]
  Running ‘testOptControl.R’ [3s/3s]
  Running ‘testcolonizer.R’ [3s/4s]
  Running ‘testcrab.R’ [9s/10s]
  Running ‘throw.R’ [4s/6s]
  Running ‘varcorr.R’ [3s/5s]
  Running ‘vcov-etc.R’ [3s/4s]
Running the tests in ‘tests/AAAtest-all.R’ failed.
Complete output:
  > if (base::require("testthat", quietly = TRUE)) {
  +     pkg   <- "lme4"
  +     require(pkg, character.only=TRUE, quietly=TRUE)
  +     if(getRversion() < "3.5.0") { withAutoprint <- identity ; prt <- print } else { prt <- identity }
  +     if(Sys.getenv("USER") %in% c("maechler", "bbolker")) withAutoprint({
  +         ## for developers' sake:
  +         lP <- .libPaths() # ---- .libPaths() : ----
  +         prt(lP)
  +         ## ---- Entries in .libPaths()[1] : ----
  +         prt(list.files(lP[1], include.dirs=TRUE))
  +         prt(sessionInfo())
  +         prt(packageDescription("Matrix"))
  +         ## 'lme4' from packageDescription "file" :
  +         prt(attr(packageDescription("lme4"), "file"))
  +     })
  +     test_check(pkg)
  +     ##======== ^^^
  +     print(warnings()) # TODO? catch most of these by expect_warning(..)
  + } else {
  +     cat( "package 'testthat' not available, cannot run unit tests\n" )
  + }
  Saving _problems/test-covariance_structures-398.R
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 1673 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-eval.R:2:1'
  • Skipping (1): 'test-covariance_nlmer.R:22:3'
  • empty test (3): , ,
  • testLevel < 2 is TRUE (1): 'test-predict.R:689:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-covariance_structures.R:396:1'): (code run outside of `test_that()`) ──
  <Rcpp::exception/C++Error/error/condition>
  Error: Downdated VtV is not positive definite
  Backtrace:
       ▆
    1. └─lme4::glmer(...) at test-covariance_structures.R:396:1
    2.   └─lme4::optimizeGlmer(...)
    3.     └─lme4:::optwrap(...)
    4.       ├─base::withCallingHandlers(...)
    5.       ├─base::do.call(optfun, arglist)
    6.       └─lme4 (local) `<fn>`(...)
    7.         ├─nM$newf(fn(nM$xeval()))
    8.         │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
    9.         └─lme4 (local) fn(nM$xeval())
   10.           └─lme4 (local) pwrssUpdate(...)
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 1673 ]
  Error:
  ! Test failures.
  Execution halted
Running the tests in ‘tests/respiratory.R’ failed.
Complete output:
  > ## Data originally from Davis 1991 Stat. Med., as packaged in geepack
  > ## and transformed (center, id -> factor, idctr created, levels labeled)
  > library(lme4)
  Loading required package: Matrix
  > 
  > if (.Platform$OS.type != "windows") {
  + load(system.file("testdata","respiratory.RData",package="lme4"))
  + m_glmer_4.L <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
  +                      family=binomial,data=respiratory)
  + 
  + m_glmer_4.GHQ5 <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
  +                         family=binomial,data=respiratory,nAGQ=5)
  + 
  + m_glmer_4.GHQ8 <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
  +                         family=binomial,data=respiratory,nAGQ=8)
  + 
  + m_glmer_4.GHQ16 <- glmer(outcome~center+treat+sex+age+baseline+(1|idctr),
  +                         family=binomial,data=respiratory,nAGQ=16)
  + } ## skip on windows (for speed)
  Error: Downdated VtV is not positive definite
  Execution halted