test_that("Factor conversion message works", {
expect_message(.convert_to_factors(mtcars, "cyl"),
regexp = "Converting to factors")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.