- using R Under development (unstable) (2026-01-21 r89314)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.8 (1+b1)
Debian flang version 21.1.8 (1+b1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘merTools/DESCRIPTION’ ... OK
- this is package ‘merTools’ version ‘0.6.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] 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 serialization versions ... OK
- checking whether package ‘merTools’ 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 ... [5s/6s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/6s] OK
- checking whether the package can be unloaded cleanly ... [4s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/6s] OK
- checking loading without being on the library search path ... [5s/6s] 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 ... [27s/38s] OK
- checking Rd files ... [1s/1s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [6s/8s] ERROR
Running examples in ‘merTools-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: REsim
> ### Title: Simulate random effects from merMod 'REsim' simulates random
> ### effects from merMod object posterior distributions
> ### Aliases: REsim
>
> ### ** Examples
>
> require(lme4)
> m2 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
> re2 <- REsim(m2, 25)
Error in `list_flatten()`:
! `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─merTools::REsim(m2, 25)
2. │ └─dplyr::bind_rows(zed)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [66s/45s] ERROR
Running ‘testthat-a_m.R’ [32s/21s]
Running ‘testthat-m_z.R’ [34s/23s]
Running the tests in ‘tests/testthat-a_m.R’ failed.
Complete output:
> library(testthat)
> library(merTools)
Loading required package: arm
Loading required package: MASS
Loading required package: Matrix
Loading required package: lme4
arm (Version 1.14-4, built: 2024-4-1)
Working directory is /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/merTools.Rcheck/tests
>
> test_check("merTools", filter = "^[a-m]")
Starting 2 test processes.
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
Saving _problems/test-merExtract-88.R
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
[ FAIL 1 | WARN 0 | SKIP 12 | PASS 234 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-expectedRank.R:12:3', 'test-expectedRank.R:83:3',
'test-helpers.R:6:3', 'test-helpers.R:23:3', 'test-helpers.R:37:3',
'test-helpers.R:72:3', 'test-helpers.R:90:3', 'test-helpers.R:124:3',
'test-merModList.R:10:3', 'test-merModList.R:46:3', 'test-merModList.R:72:3',
'test-merModList.R:128:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-merExtract.R:88:3'): REsim produces data.frames ────────────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─testthat::expect_s3_class(REsim(lmerSlope1, n.sims = 100), "data.frame") at test-merExtract.R:88:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─merTools::REsim(lmerSlope1, n.sims = 100)
5. │ └─dplyr::bind_rows(zed)
6. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
7. │ └─vctrs::obj_check_list(x)
8. └─vctrs:::stop_non_list_type(x, y, z)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 12 | PASS 234 ]
Error:
! Test failures.
Execution halted
Running the tests in ‘tests/testthat-m_z.R’ failed.
Complete output:
> library(testthat)
> library(merTools)
Loading required package: arm
Loading required package: MASS
Loading required package: Matrix
Loading required package: lme4
arm (Version 1.14-4, built: 2024-4-1)
Working directory is /home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/merTools.Rcheck/tests
>
>
> test_check("merTools", filter = "^[m-z]")
Starting 2 test processes.
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
> test-merData.R: Number of observations < 20, random effect quantiles may not be well-defined.
Saving _problems/test-merExtract-88.R
Saving _problems/test-seeds-11.R
[ FAIL 2 | WARN 0 | SKIP 36 | PASS 236 ]
══ Skipped tests (36) ══════════════════════════════════════════════════════════
• On CRAN (36): 'test-plots.R:6:3', 'test-merModList.R:10:3',
'test-merModList.R:46:3', 'test-merModList.R:72:3',
'test-merModList.R:128:3', 'test-predict.R:6:3', 'test-predict.R:28:3',
'test-predict.R:99:3', 'test-predict1.R:7:3', 'test-predict1.R:35:3',
'test-predict1.R:76:3', 'test-predict1.R:118:3', 'test-predict3.R:5:3',
'test-predict3.R:42:3', 'test-predict3.R:108:3', 'test-predict3.R:135:3',
'test-predict3.R:156:3', 'test-predict2.R:4:3', 'test-predict2.R:27:3',
'test-predict2.R:55:3', 'test-predict2.R:86:3', 'test-predict2.R:134:3',
'test-predict2.R:152:3', 'test-predict2.R:167:3', 'test-predict2.R:202:3',
'test-predict2.R:230:3', 'test-predict4.R:6:3', 'test-predict4.R:40:3',
'test-predict4.R:105:3', 'test-predict4.R:198:3', 'test-subboot.R:31:3',
'test-subboot.R:51:3', 'test-substEff.R:9:3', 'test-substEff.R:27:3',
'test-substEff.R:56:3', 'test-substEff.R:103:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-merExtract.R:88:3'): REsim produces data.frames ────────────────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─testthat::expect_s3_class(REsim(lmerSlope1, n.sims = 100), "data.frame") at test-merExtract.R:88:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─merTools::REsim(lmerSlope1, n.sims = 100)
5. │ └─dplyr::bind_rows(zed)
6. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
7. │ └─vctrs::obj_check_list(x)
8. └─vctrs:::stop_non_list_type(x, y, z)
9. └─cli::cli_abort(...)
10. └─rlang::abort(...)
── Error ('test-seeds.R:11:3'): Equivalent seeds return equivalent results ─────
Error in `list_flatten(dots, fn = is_flattenable)`: `x` must be a list, not a list matrix.
Backtrace:
▆
1. ├─merTools::REsim(fm1, 25, seed = 1234) at test-seeds.R:11:3
2. │ └─dplyr::bind_rows(zed)
3. │ └─dplyr:::list_flatten(dots, fn = is_flattenable)
4. │ └─vctrs::obj_check_list(x)
5. └─vctrs:::stop_non_list_type(x, y, z)
6. └─cli::cli_abort(...)
7. └─rlang::abort(...)
[ FAIL 2 | WARN 0 | SKIP 36 | PASS 236 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [7s/9s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [4s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs