Nothing
# Creating objects with DiagrammeR, mermaid, and grViz")
test_that("htmlwidgets object can be created", {
diagrammer_htmlwidget <-
DiagrammeR("
graph LR
A-->B
A-->C
C-->E
B-->D
C-->D
D-->F
E-->F")
# Expect that the object inherits
# from `DiagrammeR` and `htmlwidget`
expect_s3_class(
diagrammer_htmlwidget, c("DiagrammeR", "htmlwidget"))
mermaid_htmlwidget <-
mermaid("
graph LR
A-->B
A-->C
C-->E
B-->D
C-->D
D-->F
E-->F")
# Expect that the object inherits
# from `DiagrammeR` and `htmlwidget`
expect_s3_class(
mermaid_htmlwidget, c("DiagrammeR", "htmlwidget"))
})
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.