Nothing
test_that("draw obeys its contract", {
dts <- c(0, 1, 1, 1, 0, 0, 1, 0, 1, 0)
dts_ctree <- ctx_tree(dts, min_size = 1, max_depth = 2)
expect_snapshot_output(draw(dts_ctree))
expect_snapshot_output(draw(dts_ctree, frequency = "total"))
expect_snapshot_output(draw(dts_ctree, frequency = "detailed"))
expect_snapshot_output(draw(dts_ctree, control = draw_control(root = "x", open_ct = "[", close_ct = "]", first_node = "*", next_node = "°", vbranch = "^", hbranch = "->"), frequency = "detailed"))
})
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.