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
)

Arguments

ps_path

path to the document to be created

ps_create_dir

specify whether to create a new directory

pb_open

open the created file in rstudio editor

pl_repl_value

list with values to replace placeholders

Details

The used RMarkdown template qtufte is taken from this package qrmdtmpl.

Examples

if (FALSE) {
draft_qtufte(ps_path = "qtufte_report")
}