test_that("vmp_plot returns a ggplot2 graph", {
set.seed(1234) # make reproducible
x <- matrix(rnorm(1000), ncol = 2)
pm <- vmp_plot(x, plot=FALSE)
expect_s3_class(pm$Individual[[1]], "ggplot")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.