test_that("getMultipleColors works", {
expect_vector(
getMultipleColors(1:10), ptype = character(), size = 10
)
})
test_that("getContinuousColors works", {
expect_equal(
nchar(getContinuousColors()(0.1)), 9
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.