CRAN Package Check Results for Package mi

Last updated on 2025-10-22 09:50:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 24.19 125.89 150.08 OK
r-devel-linux-x86_64-debian-gcc 1.2 15.95 86.85 102.80 ERROR
r-devel-linux-x86_64-fedora-clang 1.2 71.00 175.87 246.87 OK
r-devel-linux-x86_64-fedora-gcc 1.2 51.00 212.87 263.87 OK
r-devel-windows-x86_64 1.2 24.00 132.00 156.00 OK
r-patched-linux-x86_64 1.2 23.41 119.79 143.20 OK
r-release-linux-x86_64 1.2 23.69 121.31 145.00 OK
r-release-macos-arm64 1.2 9.00 77.00 86.00 OK
r-release-macos-x86_64 1.2 36.00 171.00 207.00 OK
r-release-windows-x86_64 1.2 24.00 134.00 158.00 OK
r-oldrel-macos-arm64 1.2 9.00 81.00 90.00 OK
r-oldrel-macos-x86_64 1.2 28.00 164.00 192.00 OK
r-oldrel-windows-x86_64 1.2 35.00 169.00 204.00 OK

Check Details

Version: 1.2
Check: tests
Result: ERROR Running ‘missing_data.frame.R’ [3s/4s] Running ‘missing_variable.R’ [2s/2s] Running the tests in ‘tests/missing_variable.R’ failed. Complete output: > stopifnot(require(mi)) Loading required package: mi Loading required package: Matrix Loading required package: stats4 mi (Version 1.2, packaged: 2025-09-01 20:01:42 UTC; ben) mi Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Trustees of Columbia University This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the General Public License version 2 or later. Execute RShowDoc('COPYING') for details. > > x <- rnorm(10) > x[1] <- NA > y <- missing_variable(x, type = "continuous") > > y <- missing_variable(x, type = "irrelevant") > x <- rep(1, 10) > y <- missing_variable(x, type = "fixed") > x <- rep(1:5, each = 2) > y <- missing_variable(x, type = "group") > > x[1] <- NA > y <- missing_variable(x, type = "unordered-categorical") > y <- missing_variable(x, type = "ordered-categorical") > y <- missing_variable(x, type = "interval") > > x <- rbinom(10, size = 1, prob = 0.5) > x[1] <- NA > y <- missing_variable(x, type = "binary") Error in validObject(.Object) : invalid class "binary" object: y : binary variables must have exactly two response categories Calls: missing_variable ... .local -> callNextMethod -> .nextMethod -> validObject Execution halted Flavor: r-devel-linux-x86_64-debian-gcc