- using R Under development (unstable) (2025-12-05 r89107)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mice/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mice’ version ‘3.18.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [3s/4s] OK
- checking package namespace information ... OK
- checking package dependencies ... INFO
Packages suggested but not available for checking: 'knitr', 'rmarkdown'
- 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 ‘mice’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-15 (Debian 15.2.0-9) 15.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/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/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] 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 ... [24s/29s] 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 line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [23s/25s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [36s/57s] ERROR
Running ‘testthat.R’ [36s/57s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mice)
Attaching package: 'mice'
The following object is masked from 'package:stats':
filter
The following objects are masked from 'package:base':
cbind, rbind
>
> test_check("mice")
Saving _problems/test-mice.impute.2l.bin-32.R
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 379 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• empty test (2): ,
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mice.impute.2l.bin.R:30:1'): (code run outside of `test_that()`) ──
Error: object 'ID' not found
Backtrace:
▆
1. ├─... %>% dplyr::select(-month) at test-mice.impute.2l.bin.R:30:1
2. ├─dplyr::select(., -month)
3. ├─tidyr::fill(., treatment)
4. ├─tidyr::complete(toenail, ID, visit)
5. └─tidyr:::complete.data.frame(toenail, ID, visit)
6. ├─tidyr::expand(data, ...)
7. └─tidyr:::expand.data.frame(data, ...)
8. └─tidyr:::grid_dots(..., `_data` = data)
9. └─rlang::eval_tidy(dot, data = mask)
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 379 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [13s/17s] OK
- checking HTML version of manual ... [12s/15s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR