Nothing
test_that("pal_manual gives warning if n greater than the number of values", {
expect_warning(pal_manual(c("red", "blue", "green"))(4), "can handle a maximum")
})
test_that("pal_manual returns an unnamed vector", {
x <- c(foo = "red", bar = "blue")
expect_equal(pal_manual(x)(2), unname(x))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.