Adds files and directories necessary to add a custom rmarkdown template to RStudio. It creates:
inst/rmarkdown/templates/{{template_dir}}. Main directory.
skeleton/skeleton.Rmd. Your template Rmd file.
template.yml with basic information filled in.
use_rmarkdown_template(
template_name = "Template Name",
template_dir = NULL,
template_description = "A description of the template",
template_create_dir = FALSE
)The name as printed in the template menu.
Name of the directory the template will live in within
inst/rmarkdown/templates. If none is provided by the user, it will be
created from template_name.
Sets the value of description in
template.yml.
Sets the value of create_dir in template.yml.
if (FALSE) {
use_rmarkdown_template()
}