powered by
This function inserts a (pre)registration form, or one or more sections, into an R Markdown file.
form_knit(x, section = NULL, headingLevel = 2)
x, invisibly
The (pre)registration form (as produced by a call to form_create()) or initialized preregr object (as produced by a call to prereg_initialize()).
form_create()
preregr
prereg_initialize()
The section(s) to show; pass NULL (the default) to show everything.
NULL
The level to use for the top-most heading.
preregr::form_create( title = "Example form", version = "0.1.0" ) |> preregr::form_knit();
Run the code above in your browser using DataLab