test_that("src_sqlite() gives meaningful error messages", {
skip_if_not_installed("dbplyr")
withr::local_options(lifecycle_verbosity = "quiet")
expect_snapshot({
(expect_error(src_sqlite(":memory:")))
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.