context("same results")
test_that("get same results", {
plt1 <- ggplot(mtcars) + geom_point(aes(x = mpg, y = cyl))
plt2 <- ggplot(mtcars) %>% geom_point(aes(x = mpg, y = cyl))
expect_equal(plt1, plt2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.