- 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 'mlmRev/DESCRIPTION' ... OK
- this is package 'mlmRev' version '1.0-9'
- 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 'mlmRev' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 whether the package can be loaded ... [3s] 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 ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [3s] OK
- checking use of S3 registration ... OK
- checking Rd files ... [1s] 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 sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [17s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [96s] ERROR
Running 'guImmun.R' [80s]
Running 'lmerTest.R' [13s]
Running 'versions.R' [4s]
Running the tests in 'tests/guImmun.R' failed.
Complete output:
> library(mlmRev)
Loading required package: lme4
Loading required package: Matrix
> options(digits=6, useFancyQuotes = FALSE)# signif.stars for once..
> fm <- glmer(immun ~ kid2p + mom25p + ord + ethn + momEd +
+ husEd + momWork + rural + pcInd81 + (1|mom) + (1|comm),
+ data = guImmun, family = binomial)
Warning message:
In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model failed to converge with max|grad| = 0.415505 (tol = 0.002, component 1)
See ?lme4::convergence and ?lme4::troubleshooting.
> print(fm, symbolic.cor = TRUE)
Generalized linear mixed model fit by maximum likelihood (Laplace
Approximation) [glmerMod]
Family: binomial ( logit )
Formula: immun ~ kid2p + mom25p + ord + ethn + momEd + husEd + momWork +
rural + pcInd81 + (1 | mom) + (1 | comm)
Data: guImmun
AIC BIC logLik -2*log(L) df.resid
2747.50 2849.69 -1355.75 2711.50 2141
Random effects:
Groups Name Std.Dev.
mom (Intercept) 1.149
comm (Intercept) 0.726
Number of obs: 2159, groups: mom, 1595; comm, 161
Fixed Effects:
(Intercept) kid2pY mom25pY ord23 ord46 ord7p
-0.87541 1.26561 -0.12846 -0.14579 0.16272 0.27400
ethnN ethnS momEdP momEdS husEdP husEdS
-0.16395 -0.06148 0.28183 0.27883 0.38570 0.35196
husEdU momWorkY ruralY pcInd81
-0.00276 0.25941 -0.67693 -0.85413
optimizer (Nelder_Mead) convergence code: 0 (OK) ; 0 optimizer warnings; 1 lme4 warnings
>
> fm.h <- update(fm, ~ . - husEd)
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [38s] OK
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR