CRAN Package Check Results for Maintainer ‘Ben Bolker <bbolker+lme4 at gmail.com>’

Last updated on 2025-01-03 01:48:52 CET.

Package ERROR NOTE OK
lme4 1 10 2

Package lme4

Current CRAN status: ERROR: 1, NOTE: 10, OK: 2

Version: 1.1-35.5
Check: compiled code
Result: NOTE File ‘lme4/libs/lme4.so’: Found non-API call to R: ‘SET_TYPEOF’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.1-35.5
Check: tests
Result: ERROR Running ‘AAAtest-all.R’ [29s/32s] Running ‘HSAURtrees.R’ [2s/2s] Running ‘REMLdev.R’ [2s/2s] Running ‘ST.R’ [2s/2s] Running ‘agridat_gotway.R’ [2s/3s] Running ‘bootMer.R’ [5s/12s] Running ‘boundary.R’ [5s/6s] Running ‘confint.R’ [3s/4s] Running ‘devCritFun.R’ [2s/2s] Running ‘drop.R’ [2s/2s] Running ‘drop1contrasts.R’ [2s/2s] Running ‘dynload.R’ [0s/0s] Running ‘elston.R’ [2s/2s] Running ‘evalCall.R’ [2s/2s] Running ‘extras.R’ [2s/2s] Running ‘falsezero_dorie.R’ [2s/2s] Running ‘fewlevels.R’ [0s/0s] Running ‘getME.R’ [2s/2s] Running ‘glmer-1.R’ [3s/3s] Running ‘glmerControlPass.R’ [4s/4s] Running ‘glmerWarn.R’ [2s/3s] Running ‘glmmExt.R’ [5s/6s] Running ‘glmmWeights.R’ [5s/5s] Running ‘hatvalues.R’ [2s/2s] Running ‘is.R’ [2s/2s] Running ‘lmList-tst.R’ [2s/2s] Running ‘lme4_nlme.R’ [2s/2s] Running ‘lmer-0.R’ [2s/2s] Running ‘lmer-1.R’ [2s/2s] Running ‘lmer-conv.R’ [2s/2s] Running ‘lmer2_ex.R’ [2s/2s] Running ‘methods.R’ [3s/3s] Running ‘minval.R’ [2s/2s] Running ‘modFormula.R’ [3s/3s] Running ‘nbinom.R’ [2s/2s] Running ‘nlmer-conv.R’ [2s/2s] Running ‘nlmer.R’ [2s/2s] Running ‘offset.R’ [2s/3s] Running ‘optimizer.R’ [4s/4s] Running ‘polytomous.R’ [2s/2s] Running ‘prLogistic.R’ [2s/2s] Running ‘predict_basis.R’ [2s/2s] Running ‘predsim.R’ [2s/3s] Running ‘priorWeights.R’ [4s/4s] Running ‘priorWeightsModComp.R’ [3s/3s] Running ‘profile-tst.R’ [2s/2s] Running ‘refit.R’ [2s/2s] Running ‘resids.R’ [2s/2s] Running ‘respiratory.R’ [5s/6s] Running ‘simulate.R’ [2s/2s] Running ‘test-glmernbref.R’ [3s/3s] Running ‘testOptControl.R’ [2s/2s] Running ‘testcolonizer.R’ [2s/2s] Running ‘testcrab.R’ [5s/6s] Running ‘throw.R’ [3s/4s] Running ‘varcorr.R’ [2s/2s] Running ‘vcov-etc.R’ [2s/2s] 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" ) + } [ FAIL 1 | WARN 0 | SKIP 1 | PASS 570 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-eval.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-glmFamily.R:30:21'): inverse link and muEta functions ────────── Error in `fam$linkinv(x)`: REAL() can only be applied to a 'numeric', not a 'integer' Backtrace: ▆ 1. └─lme4 (local) tst.lnki(binomial(), etas) at test-glmFamily.R:38:5 2. └─base::sapply(frm, function(x) expect_that(fam$linkinv(x), equals(ff$linkInv(x)))) at test-glmFamily.R:30:9 3. └─base::lapply(X = X, FUN = FUN, ...) 4. └─lme4 (local) FUN(X[[i]], ...) 5. ├─testthat::expect_that(fam$linkinv(x), equals(ff$linkInv(x))) at test-glmFamily.R:30:21 6. │ └─testthat (local) condition(object) 7. │ └─testthat::expect_equal(x, expected, ..., expected.label = label) 8. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 9. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 10. └─fam$linkinv(x) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 570 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1-35.5
Check: compiled code
Result: NOTE File 'lme4/libs/x64/lme4.dll': Found non-API call to R: 'SET_TYPEOF' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-devel-windows-x86_64

Version: 1.1-35.5
Check: installed package size
Result: NOTE installed size is 27.3Mb sub-directories of 1Mb or more: R 1.5Mb doc 1.6Mb libs 22.1Mb testdata 1.3Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64