In exploring options for creating a R Project file, I found create_project() and wondered if it might be enhanced by the addition of new parameters to better support the creation of Quarto projects.
A simple create_quarto_project() that includes the basic _quarto.yml settings that is created when selecting "Quarto Project" from the New Project dialog in RStudio could be one option.
Another option could be a project type parameter, e.g. "project", "website", "book", "blog", corresponding to those same default settings.
One last (but not mutually exclusive) option could be updating create_project() to take a config_file parameter (similar to use_pkgdown()) and offering some way to define a set of files to use as a starting place (maybe using a repo_spec parameter similar to use_standalone()).
If there is interest in this feature, I'd be happy to work on it and open a pull request.
In exploring options for creating a R Project file, I found
create_project()and wondered if it might be enhanced by the addition of new parameters to better support the creation of Quarto projects.A simple
create_quarto_project()that includes the basic_quarto.ymlsettings that is created when selecting "Quarto Project" from the New Project dialog in RStudio could be one option.Another option could be a project type parameter, e.g. "project", "website", "book", "blog", corresponding to those same default settings.
One last (but not mutually exclusive) option could be updating
create_project()to take aconfig_fileparameter (similar touse_pkgdown()) and offering some way to define a set of files to use as a starting place (maybe using arepo_specparameter similar touse_standalone()).If there is interest in this feature, I'd be happy to work on it and open a pull request.