* using log directory 'd:/Rcompile/CRANpkg/local/4.5/lme4.Rcheck' * using R version 4.5.3 (2026-03-11 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lme4/DESCRIPTION' ... OK * this is package 'lme4' version '2.0-1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'lme4' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... INFO installed size is 7.0Mb sub-directories of 1Mb or more: R 1.6Mb doc 1.7Mb libs 1.3Mb testdata 1.4Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [45s] OK * checking Rd files ... [5s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [60s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [296s] ERROR Running 'AAAtest-all.R' [176s] Running 'HSAURtrees.R' [0s] Running 'REMLdev.R' [3s] Running 'ST.R' [3s] Running 'agridat_gotway.R' [0s] Running 'bootMer.R' [0s] Running 'boundary.R' [1s] Running 'confint.R' [3s] Running 'devCritFun.R' [0s] Running 'drop.R' [0s] Running 'drop1contrasts.R' [0s] Running 'dynload.R' [1s] Running 'elston.R' [0s] Running 'evalCall.R' [0s] Running 'extras.R' [3s] Running 'falsezero_dorie.R' [0s] Running 'fewlevels.R' [0s] Running 'getME.R' [0s] Running 'glmer-1.R' [3s] Running 'glmerControlPass.R' [0s] Running 'glmerWarn.R' [0s] Running 'glmmExt.R' [3s] Running 'glmmWeights.R' [0s] Running 'hatvalues.R' [0s] Running 'is.R' [0s] Running 'lmList-tst.R' [4s] Running 'lme4_nlme.R' [3s] Running 'lmer-0.R' [3s] Running 'lmer-1.R' [3s] Running 'lmer-conv.R' [3s] Running 'lmer2_ex.R' [3s] Running 'methods.R' [0s] Running 'minval.R' [3s] Running 'modFormula.R' [0s] Running 'nbinom.R' [0s] Running 'nlmer-conv.R' [3s] Running 'nlmer.R' [3s] Running 'offset.R' [3s] Running 'optimizer.R' [3s] Running 'polytomous.R' [3s] Running 'prLogistic.R' [3s] Running 'predict_basis.R' [4s] Running 'predsim.R' [3s] Running 'priorWeights.R' [0s] Running 'priorWeightsModComp.R' [3s] Running 'profile-tst.R' [3s] Running 'refit.R' [3s] Running 'resids.R' [3s] Running 'respiratory.R' [3s] Running 'simulate.R' [3s] Running 'test-glmernbref.R' [5s] Running 'testOptControl.R' [4s] Running 'testcolonizer.R' [3s] Running 'testcrab.R' [3s] Running 'throw.R' [3s] Running 'varcorr.R' [3s] Running 'vcov-etc.R' [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-resids-82.R [ FAIL 1 | WARN 0 | SKIP 8 | PASS 1763 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-eval.R:2:1' • On Windows (1): 'test-methods.R:345:3' • Skipping (1): 'test-covariance_nlmer.R:22:3' • empty test (3): , , • getRversion() < "4.6.0" is TRUE (1): 'test-methods.R:899:3' • testLevel < 2 is TRUE (1): 'test-predict.R:689:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-resids.R:81:5'): weighted residuals ────────────────────────── Expected `head(weighted.residuals(gm1), 3)` to equal `structure(...)`. Differences: 2/3 mismatches (average diff: 0.267) [2] -5.17 - -4.93 == -0.244 [3] -5.65 - -5.35 == -0.291 [ FAIL 1 | WARN 0 | SKIP 8 | PASS 1763 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [282s] OK * checking PDF version of manual ... [27s] OK * checking HTML version of manual ... [26s] OK * DONE Status: 1 ERROR