test_that("PCAplot works", {
expect_error(PCAplot(mtcars$cyl, mtcars), NA)
})
test_that("One plot can still use multiplot", {
p <- ggplot2::ggplot(mtcars, aes(wt, mpg)) +
ggplot2::geom_point()
expect_error(multiplot(p), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.