This function calls rmarkdown::draft()
to create a new document.
generic_rmd_draft(
ps_path,
ps_template,
ps_package,
ps_create_dir,
pb_open,
pl_repl_value
)
path to the document to be created
name of the template
package containing the template
flag whether document should be put into new directory
flag whether to open the newly created document in rstudio
list of template placeholder replacement values