Downloads the Quarto template from the
frogger-templates
repository and writes it to the analysis/ directory. Errors if a file
with the same name already exists.
Usage
write_quarto(filename = "Untitled-1", path = here::here())Arguments
- filename
Character. The name of the file without the
.qmdextension. Only letters, numbers, hyphens, and underscores are allowed. Default is"Untitled-1".- path
Character. Path to the project directory. Default is current project root via
here.
Details
The file is written to analysis/<filename>.qmd. The analysis/
directory is created automatically if it does not exist.