test_that("Can query ptype without triggering materialization", {
local_options(duckdb.materialize_message = TRUE)
x <- data.frame(a = 1) %>% duckplyr_mutate(b = 2)
expect_silent(vctrs::vec_ptype(x))
expect_output(nrow(x))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.