* using log directory 'd:/Rcompile/CRANpkg/local/4.5/mice.Rcheck' * using R version 4.5.2 (2025-10-31 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 'mice/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'mice' version '3.18.0' * 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 'mice' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [3s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [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 ... [20s] OK * checking Rd files ... [4s] 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 ... [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 compiled code ... OK * checking examples ... [46s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [70s] ERROR Running 'testthat.R' [69s] 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 ... [30s] OK * checking HTML version of manual ... [35s] OK * DONE Status: 1 ERROR