data(spas)
test_that("ACF ggplot has the correct content", {
plt = gr_plot_acf(spas, 0.65)
expect_s3_class(plt, 'ggplot')
expect_type(plt, 'list')
expect_equal(plt$layers[[6]]$data$x, 6)
expect_equal(plt$layers[[4]]$data$y, 0.7)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.