Copy the starter template into a directory

Description

Copies template.qmd (a generic FGCZ report skeleton) and its fgcz-report-overview.svg visual abstract into dir, together with the styling assets they need. Use this to bootstrap a new report.

Usage

fgcz_use_template(dir, to = "template.qmd", overwrite = FALSE)

Arguments

dir Destination directory. Created if it does not exist.
to Filename for the copied template within dir.
overwrite Overwrite an existing file of the same name.

Value

Path to the copied template, invisibly.

Examples

library("fgczQuartoTemplate")

fgcz_use_template("my_report", to = "my_report.qmd")