-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add create_quarto_project
or support Quarto-related parameters in create_project
#1891
Comments
I wonder if there are plans for anything like this in quarto-r @jjallaire @cderv. Where is the obvious home for it? 🤔 |
Yes definitely something we should do in quarto-r to me. This is feature request already. Just need to spend some time on a new version there. Though this could be easy to do in usethis if you want something like this (as you have other project-creation function already) - everything would be done by So for the obvious place, it is also you choice. However, I would say that even if you do it in usethis we would do in quarto R package anyway. So probably there is the obvious place, and here is the optional one for convenience to usethis users. |
I think the way forward would be for |
How do we feel about this issue in light of the fact that https://quarto-dev.github.io/quarto-r/reference/quarto_create_project.html |
I think it's probably worth making |
In terms of naming and patterning off an existing thing, |
Yes, of course, not sure why I wrote |
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 aconfig_file
parameter (similar touse_pkgdown()
) and offering some way to define a set of files to use as a starting place (maybe using arepo_spec
parameter similar touse_standalone()
).If there is interest in this feature, I'd be happy to work on it and open a pull request.
The text was updated successfully, but these errors were encountered: