lme4
Linear Mixed-Effects Models using 'Eigen' and S4
Description
Fit linear and generalized linear mixed-effects models. The models and their components are represented using S4 classes and methods. The core computational algorithms are implemented using the 'Eigen' C++ library for numerical linear algebra and 'RcppEigen' "glue".
Downloads
669.6K
Last 30 days
105th
2M
Last 90 days
6.9M
Last year
Trend: +2% (30d vs prior 30d)
5K
Last 30 days
13.9K
Last 90 days
38.7K
Last year
Trend: +19% (30d vs prior 30d)
24
Last 7 days
85
Last 30 days
3
All-time
⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
tests
Running 'AAAtest-all.R' [178s]
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 'n
...[truncated]...
e 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
Check History
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 11, 2026
tests
Running ‘AAAtest-all.R’ [146s/169s] Running ‘HSAURtrees.R’ [3s/4s] Running ‘REMLdev.R’ [3s/4s] Running ‘ST.R’ [3s/4s] Running ‘agridat_gotway.R’ [4s/5s] Running ‘bootMer.R’ [7s/17s] Running ‘boundary.R’ [18s/23s] Running ‘confint.R’ [5s ...[truncated]... iduals(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 7 | PASS 1766 ] Error: ! Test failures. Execution halted
installed package size
installed size is 27.8Mb
sub-directories of 1Mb or more:
R 1.7Mb
doc 1.7Mb
libs 22.0Mb
testdata 1.4Mb
installed package size
installed size is 28.2Mb
sub-directories of 1Mb or more:
R 1.7Mb
doc 1.7Mb
libs 22.5Mb
testdata 1.4Mb
installed package size
installed size is 6.9Mb
sub-directories of 1Mb or more:
R 1.6Mb
doc 1.7Mb
libs 1.3Mb
testdata 1.4Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
installed package size
installed size is 27.8Mb
sub-directories of 1Mb or more:
R 1.7Mb
doc 1.7Mb
libs 22.0Mb
testdata 1.4Mb
installed package size
installed size is 28.2Mb
sub-directories of 1Mb or more:
R 1.7Mb
doc 1.7Mb
libs 22.5Mb
testdata 1.4Mb
installed package size
installed size is 6.9Mb
sub-directories of 1Mb or more:
R 1.6Mb
doc 1.7Mb
libs 1.3Mb
testdata 1.4Mb