# highchart ----
test_that("highchart object is a from highchart and htmlwidget class", {
hc <- highchart()
expect_true(all(class(hc) %in% c("highchart", "htmlwidget")))
})
# highchartOutput ----
test_that("highchartOutput returns a function", {
expect_true(
all(class(highchartOutput("outputid")) %in% c("shiny.tag.list", "list"))
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.