test_that("Can plot using freshly generated forecasts", {
skip_on_cran()
expect_ggplot(plot(forecast_wrapper))
expect_ggplot(plot(forecast_wrapper, type = "voc_advantage"))
expect_ggplot(plot(forecast_wrapper, type = "voc_frac"))
expect_ggplot(plot(forecast_wrapper, type = "growth"))
expect_ggplot(plot(forecast_wrapper, type = "rt"))
expect_ggplot(plot(forecast_wrapper, type = "all")[[1]])
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.