if (interactive() && quarto::quarto_version() >= "1.6") {
# Create the Quarto project with custom YAML & associated files
quarto_project("frogs", path = tempdir(), example = TRUE)
# Confirm files were created
file.exists(file.path(tempdir(), "frogs", "frogs.qmd"))
file.exists(file.path(tempdir(), "frogs", "_quarto.yml"))
}
Run the code above in your browser using DataLab