context("test-r-themes")
testthat::test_that("the HS theme and HS color palette is applied without error", {
df <- simData(25, 1)
p <- plotTime(df) +
themeHS() +
scale_fill_HS()
expect_error(print(p), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.