tests/testthat/test-deprec-impute_mena.R

test_that("Deprecation error", {
  expect_snapshot(error = TRUE,
    recipe(~ ., data = mtcars) %>%
      step_meanimpute()
  )
})

Try the recipes package in your browser

Any scripts or data that you put into this service are public.

recipes documentation built on July 4, 2024, 9:06 a.m.