test_that("read_sql_duckdb() works", {
con <- withr::local_db_connection(DBI::dbConnect(duckdb::duckdb()))
expect_identical(
read_sql_duckdb("SELECT 1 AS a", con = con, prudence = "lavish"),
duckdb_tibble(a = 1L)
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.