test_that("is_ggplot works", {
testthat::expect_false(echodata::is_ggplot(mtcars))
testthat::expect_true(echodata::is_ggplot( ggplot2::ggplot()))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.