test_that("summarise_*() throws appropriate errors", {
expect_snapshot_error(summarise_layout(10))
expect_snapshot_error(summarise_coord("A"))
expect_snapshot_error(summarise_layers(TRUE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.