Wrapper function to create a draft of a Tufte Report using
rmarkdown::draft()
.
draft_qtufte(
ps_path,
ps_create_dir = "default",
pb_open = rlang::is_interactive(),
pl_repl_value = NULL
)
path to the document to be created
specify whether to create a new directory
open the created file in rstudio editor
list with values to replace placeholders
The used RMarkdown template qtufte is taken from this package qrmdtmpl.
if (FALSE) {
draft_qtufte(ps_path = "qtufte_report")
}