test_that("View-glimpse returns a data frame", {
res <- view_glimpse(mtcars)
withr::local_options("open_view = FALSE")
expect_s3_class(res, "data.frame")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.