context("ChartScrollbar setters (class unions)")
testthat::test_that("setGraph method", {
testthat::expect_message(setGraph(.Object = chartScrollbar()))
testthat::expect_error(setGraph(.Object = chartScrollbar(), graph = rep("a", 3)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.