test_that("order_by() gives useful error messages", {
expect_snapshot(error = TRUE, order_by(mtcars, 10))
expect_snapshot(error = TRUE, order_by(mtcars, cyl))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.