Description Usage Arguments Details Value Examples
Wrapper function for rmarkdown::draft to create an empty generic Rmarkdown document with reasonable default values.
1 2 3 4 5 6 7 8 | draft_qemptydoc(
ps_path,
ps_template = "qemptydoc",
ps_package = "qrmdreport",
ps_create_dir = "default",
pb_edit = FALSE,
pb_open = rlang::is_interactive()
)
|
ps_path |
path to the document to be created |
ps_template |
name of the tempalte |
ps_package |
package which contains the template |
ps_create_dir |
specify whether to create a new directory |
pb_edit |
flag whether newly created file should be edited |
pb_open |
open the created file in rstudio editor |
The template 'qemptydoc' is taken from this package 'qrmdreport'.
invisible(TRUE)
1 2 3 4 | ## Not run:
draft_qemptydoc(ps_path = 'empty_test_doc')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.