test_that("Deprecation error", {
expect_snapshot(error = TRUE,
recipe(~ ., data = mtcars) %>%
step_knnimpute()
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.