Wrapper to create bookdown pdf document using rmarkdown::draft
.
draft_qbdpdf2(
ps_path,
ps_create_dir = "default",
pb_open = rlang::is_interactive(),
pl_repl_value = NULL
)
path to newly created document
option whether to create new directory for new document
whether document should be opened
list with pattern replacement values
if (FALSE) {
draft_qbdpdf2(ps_path = "example_bdpdf2")
}