Nothing
test_that("create diagrams", {
expect_s3_class(
nomnoml(""),
"htmlwidget"
)
diagram <- "[Hallo] -> [World]"
expect_equal(
nomnoml(diagram)$x$code,
paste(nomnoml:::nomnoml_defaults(), diagram, sep = "\n")
)
})
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.