render_template: Copy Rmd template to target path

View source: R/render_template.R

render_templateR Documentation

Copy Rmd template to target path

Description

Copies a file from the rmarkdown/templates folder to a target path

Usage

render_template(
  file,
  template_folder,
  target_path,
  output_name = NA,
  data = list()
)

Arguments

file

File name to copy.

template_folder

Folder name of file.

target_path

Path to copy to.

output_name

Name of copies file. If NA, name will be the same as input file name.

data

List of additional metadata. Must have at least element name and title.


condensr documentation built on Aug. 30, 2023, 5:13 p.m.