context("histogram_plot")
test_that("plot works", {
g = histogram_plot(mtcars, "mpg")
expect_equal(nrow(g$data), 32)
})
context("density_plot")
test_that("plot works", {
g = density_plot(mtcars, "mpg")
expect_equal(nrow(g$data), 32)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.