context("Checking mkonfound")
test_that("mkonfound produces table", {
d <- mkonfound(mkonfound_ex, t, df)
expect_is(d, "data.frame")
})
test_that("mkonfound produces plot", {
p <- mkonfound(mkonfound_ex, t, df, return_plot = TRUE)
p
expect_s3_class(p, "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.