This function creates a new Quarto project directory with additional froggeR
features. It first calls quarto::quarto_create_project()
to set up the
basic structure, then enhances it with froggeR-specific files and settings.
Usage
quarto_project(name, base_dir = getwd(), custom_yaml = TRUE)
Arguments
- name
Character string. The name of the Quarto project directory and initial
.qmd
file.- base_dir
Character string. Base directory where the project should be created. Defaults to the current working directory.
- custom_yaml
Logical. If TRUE (default), uses a custom YAML header in the initial
.qmd
file, populated with values from '_variables.yml'. If FALSE, uses Quarto's standard YAML header.
Details
This function creates a Quarto project with the following enhancements:
_variables.yml
: Stores reusable YAML variables (ifcustom_yaml = TRUE
).gitignore
: Enhanced settings for R projectsREADME.md
: Template README filedated_progress_notes.md
: For project progress trackingcustom.scss
: Custom Quarto styling (ifcustom_yaml = TRUE
).Rproj
: RStudio project file
If froggeR settings don't exist, it will prompt to create them.