Nothing
context("set-background")
test_that("setBackgroundColor works", {
tag <- setBackgroundColor()
expect_is(tag, "shiny.tag")
expect_length(tag$children, 1)
tag <- setBackgroundColor(
color = c("#F7FBFF", "#2171B5"),
gradient = "linear",
direction = "bottom"
)
expect_is(tag, "shiny.tag")
expect_length(tag$children, 1)
})
test_that("setBackgroundImage works", {
tag <- setBackgroundImage(src = "img/myimage.png")
expect_is(tag, "shiny.tag")
expect_length(tag$children, 1)
})
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.