Skip to content

Commit 5cef415

Browse files
committed
Update to mice 3.19.10
1 parent 2d3bfc4 commit 5cef415

6 files changed

Lines changed: 27 additions & 8 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ vignettes/
2323
^CRAN-SUBMISSION$
2424
^scratch$
2525
^Rplots\.pdf$
26+
^.claude$

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: mice
22
Type: Package
3-
Version: 3.19.9
3+
Version: 3.19.10
44
Title: Multivariate Imputation by Chained Equations
5-
Date: 2026-06-01
5+
Date: 2026-06-05
66
Authors@R: c(person("Stef", "van Buuren", role = c("aut","cre"),
77
email = "stef.vanbuuren@tno.nl"),
88
person("Karin", "Groothuis-Oudshoorn", role = "aut",

NEWS.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
1+
# mice 3.19.10
2+
3+
- Fixes `barnard.rubin()` silently returning only the first element when called
4+
with vector `b` and `dfcom = Inf`. The infinite-`dfcom` branch used a scalar
5+
`if`, so only the length-1 result was returned instead of a vector matching
6+
`b`. Now vectorised with `ifelse()`, consistent with the finite-`dfcom` case.
7+
- Cleans up the testthat suite: restores or removes commented-out tests,
8+
replaces deprecated `context()`/`expect_is()` calls, guards optional-package
9+
tests with `skip_if_not_installed()`, and fixes a handful of latent test bugs
10+
(a `set.seed <- 818` typo that silently disabled seeding, and a tautological
11+
assertion in `test-blocks.R`). No user-facing behavior changes.
12+
- Adds a stable `<FUNCTION>-<NNN>` ID (e.g. `BARNARD-RUBIN-001`) to every
13+
`test_that()` label in the testthat suite, derived from the test file name
14+
and assigned in file order. These IDs let this R suite be compared directly
15+
against other implementations that share the same scheme,
16+
so equivalent test cases are greppable across languages instead of relying
17+
on manual cross-referencing. No user-facing behavior changes.
18+
119
# mice 3.19.9
20+
221
- Adds `mice.impute.svm()` as a binary variables imputation technique for high
322
dimensional data based on proper multiple imputation using Support Vector
423
Machines combined with bootstrapping. Solves (#751) with (#752). Thanks @Mmtakahashi123
524

6-
725
# mice 3.19.8
826

927
- Implements new behavior in `mice.mids() that inherits the imputation methods from the trained imputation model rather than re-initializing methods anew. This gives consistent behavior between train and deployment imputation models ([#753](https://github.com/amices/mice/issues/753))

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set.seed(1)
2323
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/mice)](https://cran.r-project.org/package=mice)
2424
[![](https://cranlogs.r-pkg.org/badges/mice)](https://cran.r-project.org/package=mice)
2525
[![R-CMD-check](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml)
26-
[![](https://img.shields.io/badge/github%20version-3.19.9-orange.svg)](https://amices.org/mice/)
26+
[![](https://img.shields.io/badge/github%20version-3.19.10-orange.svg)](https://amices.org/mice/)
2727
<!-- badges: end -->
2828

2929
## [Multivariate Imputation by Chained Equations](https://amices.org/mice/)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/mice)](https://cran.r-project.org/package=mice)
88
[![](https://cranlogs.r-pkg.org/badges/mice)](https://cran.r-project.org/package=mice)
99
[![R-CMD-check](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/amices/mice/actions/workflows/R-CMD-check.yaml)
10-
[![](https://img.shields.io/badge/github%20version-3.19.9-orange.svg)](https://amices.org/mice/)
10+
[![](https://img.shields.io/badge/github%20version-3.19.10-orange.svg)](https://amices.org/mice/)
1111
<!-- badges: end -->
1212

1313
## [Multivariate Imputation by Chained Equations](https://amices.org/mice/)
@@ -96,9 +96,9 @@ fit <- with(imp, lm(chl ~ age + bmi))
9696
# pool and summarize the results
9797
summary(pool(fit))
9898
#> term estimate std.error statistic df p.value
99-
#> 1 (Intercept) 9.08 73.09 0.124 4.50 0.9065
100-
#> 2 age 35.23 17.46 2.017 1.36 0.2377
101-
#> 3 bmi 4.69 1.94 2.417 15.25 0.0286
99+
#> 1 (Intercept) 12.01 70.99 0.169 4.31 0.8733
100+
#> 2 age 31.04 18.73 1.657 1.20 0.3134
101+
#> 3 bmi 4.84 1.88 2.572 16.20 0.0203
102102
```
103103

104104
The complete-data is fit to each imputed dataset, and the results are

man/figures/README-stripplot-1.png

215 Bytes
Loading

0 commit comments

Comments
 (0)