if (interactive() && quarto::quarto_version() >= "1.6") {
# Create the Quarto project with custom YAML & associated files
quarto_project("frogs", path = tempdir(), example = TRUE)
# Confirms files were created (optional, for user confirmation)
file.exists(file.path(tempdir(), "frogs.qmd")) # Quarto doc
file.exists(file.path(tempdir(), "_quarto.yml")) # project YAML file
# Create a new Quarto project with standard Quarto (no examples)
# quarto_project('frogs_standard', path = tempdir(), example = FALSE)
}
Run the code above in your browser using DataLab