usethis icon indicating copy to clipboard operation
usethis copied to clipboard

Add `create_quarto_project` or support Quarto-related parameters in `create_project`

Open elipousson opened this issue 10 months ago • 3 comments

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.

elipousson avatar Sep 01 '23 02:09 elipousson