- using R Under development (unstable) (2026-07-06 r90208)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-2) 16.1.0
GNU Fortran (Debian 16.1.0-2) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-07-07 13:11:08 UTC
- checking for file ‘WeMix/DESCRIPTION’ ... OK
- this is package ‘WeMix’ version ‘4.0.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘WeMix’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking whether startup messages can be suppressed ... [2s/2s] 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 ... [15s/20s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [88s/100s] ERROR
Running ‘testthat_tests.R’ [88s/100s]
Running the tests in ‘tests/testthat_tests.R’ failed.
Complete output:
> library(testthat)
> library(WeMix)
Loading required package: lme4
Loading required package: Matrix
WeMix v4.0.3
> test_check('WeMix')
Saving _problems/test-1-main-418.R
[ FAIL 1 | WARN 0 | SKIP 14 | PASS 133 ]
══ Skipped tests (14) ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
• On CRAN (14): 'test-1-main.R:172:3', 'test-1-main.R:202:3', 'test-1-main.R:233:3', 'test-1-main.R:334:3', 'test-1-main.R:751:3', 'test-1-main.R:835:3', 'test-1-main.R:895:3', 'test-1-main.R:1061:3', 'test-1-main.R:1153:5', 'test-1-main.R:1249:3', 'test-1-main.R:1275:3', 'test-2-four-level.R:2:1', 'test-4-ECLS.R:2:1', 'test-5-TIMSS.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
── Error ('test-1-main.R:416:3'): Unweighted three level model, binomial ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
<Rcpp::exception/C++Error/error/condition>
Error: Downdated VtV is not positive definite
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-1-main.R:416:3
2. │ └─base::withCallingHandlers(...)
3. └─WeMix::mix(...)
4. └─WeMix:::fit_unweighted_model(formula, data, family, verbose)
5. ├─base::suppressMessages(...)
6. │ └─base::withCallingHandlers(...)
7. ├─base::suppressWarnings(lme <- glmer(formula, data, family = family))
8. │ └─base::withCallingHandlers(...)
9. └─lme4::glmer(formula, data, family = family)
10. └─lme4::optimizeGlmer(...)
11. └─lme4:::optwrap(...)
12. ├─base::withCallingHandlers(...)
13. ├─base::do.call(optfun, arglist)
14. └─lme4 (local) `<fn>`(...)
15. ├─nM$newf(fn(nM$xeval()))
16. │ └─base::stopifnot(length(value <- as.numeric(value)) == 1L)
17. └─lme4 (local) fn(nM$xeval())
18. └─lme4 (local) pwrssUpdate(...)
[ FAIL 1 | WARN 0 | SKIP 14 | PASS 133 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/12s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR