CRAN Package Check Results for Package lme4

Last updated on 2026-03-06 20:52:34 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-38 75.38 516.62 592.00 ERROR
r-devel-linux-x86_64-debian-gcc 2.0-1 59.74 489.12 548.86 OK
r-devel-linux-x86_64-fedora-clang 2.0-1 127.00 1261.11 1388.11 OK
r-devel-linux-x86_64-fedora-gcc 2.0-1 160.00 911.54 1071.54 OK
r-devel-macos-arm64 2.0-1 18.00 170.00 188.00 OK
r-devel-windows-x86_64 1.1-38 86.00 455.00 541.00 ERROR
r-patched-linux-x86_64 1.1-38 82.02 485.45 567.47 OK
r-release-linux-x86_64 1.1-38 72.13 486.86 558.99 OK
r-release-macos-arm64 2.0-1 17.00 165.00 182.00 OK
r-release-macos-x86_64 2.0-1 57.00 577.00 634.00 OK
r-release-windows-x86_64 1.1-38 84.00 446.00 530.00 OK
r-oldrel-macos-arm64 2.0-1 16.00 168.00 184.00 NOTE
r-oldrel-macos-x86_64 2.0-1 55.00 689.00 744.00 NOTE
r-oldrel-windows-x86_64 2.0-1 86.00 551.00 637.00 NOTE

Check Details

Version: 1.1-38
Check: tests
Result: ERROR Running ‘AAAtest-all.R’ [63s/80s] Running ‘HSAURtrees.R’ [3s/4s] Running ‘REMLdev.R’ [3s/4s] Running ‘ST.R’ [3s/4s] Running ‘agridat_gotway.R’ [4s/5s] Running ‘bootMer.R’ [8s/18s] Running ‘boundary.R’ [9s/11s] Running ‘confint.R’ [5s/6s] Running ‘devCritFun.R’ [3s/4s] Running ‘drop.R’ [3s/6s] Running ‘drop1contrasts.R’ [3s/4s] Running ‘dynload.R’ [0s/1s] Running ‘elston.R’ [3s/4s] Running ‘evalCall.R’ [3s/4s] Running ‘extras.R’ [3s/4s] Running ‘falsezero_dorie.R’ [3s/4s] Running ‘fewlevels.R’ [0s/0s] Running ‘getME.R’ [4s/5s] Running ‘glmer-1.R’ [5s/5s] Running ‘glmerControlPass.R’ [6s/7s] Running ‘glmerWarn.R’ [4s/6s] Running ‘glmmExt.R’ [7s/8s] Running ‘glmmWeights.R’ [7s/10s] 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/4s] Running ‘lmer2_ex.R’ [3s/3s] Running ‘methods.R’ [4s/6s] Running ‘minval.R’ [3s/3s] Running ‘modFormula.R’ [4s/5s] Running ‘nbinom.R’ [3s/3s] Running ‘nlmer-conv.R’ [3s/4s] Running ‘nlmer.R’ [3s/4s] Running ‘offset.R’ [4s/5s] Running ‘optimizer.R’ [6s/7s] Running ‘polytomous.R’ [3s/3s] Running ‘prLogistic.R’ [3s/3s] Running ‘predict_basis.R’ [4s/4s] Running ‘predsim.R’ [4s/6s] Running ‘priorWeights.R’ [6s/9s] Running ‘priorWeightsModComp.R’ [5s/6s] Running ‘profile-tst.R’ [3s/4s] Running ‘refit.R’ [3s/3s] Running ‘resids.R’ [3s/4s] Running ‘respiratory.R’ [7s/8s] Running ‘simulate.R’ [3s/4s] Running ‘test-glmernbref.R’ [4s/5s] Running ‘testOptControl.R’ [3s/4s] Running ‘testcolonizer.R’ [3s/4s] Running ‘testcrab.R’ [9s/11s] Running ‘throw.R’ [4s/6s] Running ‘varcorr.R’ [3s/4s] 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-methods-877.R [ FAIL 1 | WARN 5 | SKIP 4 | PASS 674 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-eval.R:2:1' • empty test (3): , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-methods.R:875:3'): rstudent matches for zero-var cases ─────── Expected `suppressWarnings(rstudent(glmer_zero))` to equal `rstudent(glm_zero)`. Differences: 82/120 mismatches (average diff: 0.122) [1] 1.355 - 1.528 == -0.1726 [2] -0.772 - -0.723 == -0.0494 [3] 0.866 - 0.940 == -0.0741 [4] -0.791 - -0.739 == -0.0521 [5] 0.842 - 0.912 == -0.0699 [7] 0.323 - 0.335 == -0.0121 [8] -0.831 - -0.773 == -0.0577 [10] 0.784 - 0.844 == -0.0599 [12] -0.871 - -0.807 == -0.0635 ... [ FAIL 1 | WARN 5 | SKIP 4 | PASS 674 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1-38
Check: tests
Result: ERROR Running 'AAAtest-all.R' [56s] Running 'HSAURtrees.R' [0s] Running 'REMLdev.R' [2s] Running 'ST.R' [2s] Running 'agridat_gotway.R' [0s] Running 'bootMer.R' [0s] Running 'boundary.R' [0s] Running 'confint.R' [2s] Running 'devCritFun.R' [0s] Running 'drop.R' [0s] Running 'drop1contrasts.R' [0s] Running 'dynload.R' [0s] Running 'elston.R' [0s] Running 'evalCall.R' [0s] Running 'extras.R' [2s] Running 'falsezero_dorie.R' [0s] Running 'fewlevels.R' [0s] Running 'getME.R' [0s] Running 'glmer-1.R' [2s] Running 'glmerControlPass.R' [0s] Running 'glmerWarn.R' [0s] Running 'glmmExt.R' [2s] Running 'glmmWeights.R' [0s] Running 'hatvalues.R' [0s] Running 'is.R' [0s] Running 'lmList-tst.R' [3s] Running 'lme4_nlme.R' [2s] Running 'lmer-0.R' [2s] Running 'lmer-1.R' [2s] Running 'lmer-conv.R' [2s] Running 'lmer2_ex.R' [2s] Running 'methods.R' [1s] Running 'minval.R' [2s] Running 'modFormula.R' [1s] Running 'nbinom.R' [1s] Running 'nlmer-conv.R' [2s] Running 'nlmer.R' [2s] Running 'offset.R' [2s] Running 'optimizer.R' [2s] Running 'polytomous.R' [2s] Running 'prLogistic.R' [2s] Running 'predict_basis.R' [3s] Running 'predsim.R' [2s] Running 'priorWeights.R' [0s] Running 'priorWeightsModComp.R' [2s] Running 'profile-tst.R' [3s] Running 'refit.R' [2s] Running 'resids.R' [2s] Running 'respiratory.R' [2s] Running 'simulate.R' [3s] Running 'test-glmernbref.R' [4s] Running 'testOptControl.R' [2s] Running 'testcolonizer.R' [2s] Running 'testcrab.R' [2s] Running 'throw.R' [2s] Running 'varcorr.R' [2s] Running 'vcov-etc.R' [3s] 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-methods-877.R [ FAIL 1 | WARN 5 | SKIP 5 | PASS 671 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-eval.R:2:1' • On Windows (1): 'test-methods.R:342:3' • empty test (3): , , ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-methods.R:875:3'): rstudent matches for zero-var cases ─────── Expected `suppressWarnings(rstudent(glmer_zero))` to equal `rstudent(glm_zero)`. Differences: 82/120 mismatches (average diff: 0.122) [1] 1.355 - 1.528 == -0.1726 [2] -0.772 - -0.723 == -0.0494 [3] 0.866 - 0.940 == -0.0741 [4] -0.791 - -0.739 == -0.0521 [5] 0.842 - 0.912 == -0.0699 [7] 0.323 - 0.335 == -0.0121 [8] -0.831 - -0.773 == -0.0577 [10] 0.784 - 0.844 == -0.0599 [12] -0.871 - -0.807 == -0.0635 ... [ FAIL 1 | WARN 5 | SKIP 5 | PASS 671 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 2.0-1
Check: installed package size
Result: NOTE installed size is 27.8Mb sub-directories of 1Mb or more: R 1.7Mb doc 1.7Mb libs 22.0Mb testdata 1.4Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64