test_that("correct color class", {
scale_color_council() %>%
testthat::expect_s3_class("ScaleDiscrete")
})
test_that("correct fill class", {
scale_fill_council() %>%
testthat::expect_s3_class("ScaleDiscrete")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.