Skip to contents

Copies an empty Quarto book template from the so.ii package into a user‑specified directory and inserts a cover page.

Usage

generate_blank_report(path, cover = c("generic", "gt-amc", "soii", "student"))

Arguments

path

Character. Destination folder for the template. If missing or NULL, a temporary directory is used and a warning is issued.

cover

Character. Type of cover page. Allowed values are: "generic", "gt-amc", "soii" and "student". Default to "generic".

Value

nothing

Details

The function copies a quarto report template available in the folder extdata/template/empty_quarto_book of this package. The function also copies the LaTeX scripts needed to correctly format the document (cover file included -titlepage.tex-). The necessary folder tree is created in path to store all the files. Two informative messages are printed before and after the copying process.

Examples

if (FALSE) { # \dontrun{
# Default call – uses a temporary folder and the "generic" cover
generate_blank_report()

# Custom folder with the "gt-amc" cover
report_path = file.path(tempdir(), "my_report")
generate_blank_report(path = report_path, cover = "gt-amc")
} # }