context("shim_scalar")
test_that("throw errors for scalar x", {
expect_error(strict_diag(5), "surprising")
expect_error(strict_sample(5), "surprising")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.