tests/testthat/test-deprec-impute_mode.R

test_that("Deprecation error", {
  expect_snapshot(
    error = TRUE,
    recipe(~., data = mtcars) %>%
      step_modeimpute()
  )
})
topepo/recipes documentation built on April 13, 2025, 2:34 p.m.