tests/testthat/helper-ctx_tree_draw.R

## a simple function that calls draw with different parameters
exercise_draw <- function(ctx) {
  draw(ctx)
  draw(ctx, frequency = "total")
  draw(ctx, frequency = "detailed")
  draw(ctx, control = draw_control(
    root = "x",
    open_ct = "[", close_ct = "]",
    first_node = "*",
    next_node = "°",
    vbranch = "^",
    hbranch = "->"
  ), frequency = "detailed")
}

Try the mixvlmc package in your browser

Any scripts or data that you put into this service are public.

mixvlmc documentation built on June 8, 2025, 12:35 p.m.