Allows to create a new project from the RStudio "New Project" wizard.
Closes #311
Types of change
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Other (documentation etc)
Pull request checklist
[x] Add functionality
[ ] Add tests
[ ] Update documentation in man
[ ] Update website documentation
Proposed changes
Added a inst/rstudio/templates/project/projecttemplate.dcf file per the instructions on https://rstudio.github.io/rstudio-extensions/rstudio_project_templates.html. A new internal function create_project_rstudio was created to parse the options from the wizard. For simplicity of the graphical user interface the merge.strategy argument of ProjectTemplate::create.project was converted to a boolean checkbox, and the rstudio.project argument was fixed to TRUE.
As this is only a light wrapper around create.project and only accessed through the graphical user interface of rstudio I did not add documentation or tests. If necessary I can add some later.
Allows to create a new project from the RStudio "New Project" wizard.
Closes #311
Types of change
Pull request checklist
man
Proposed changes
Added a
inst/rstudio/templates/project/projecttemplate.dcf
file per the instructions on https://rstudio.github.io/rstudio-extensions/rstudio_project_templates.html. A new internal functioncreate_project_rstudio
was created to parse the options from the wizard. For simplicity of the graphical user interface themerge.strategy
argument ofProjectTemplate::create.project
was converted to a boolean checkbox, and therstudio.project
argument was fixed toTRUE
.As this is only a light wrapper around
create.project
and only accessed through the graphical user interface of rstudio I did not add documentation or tests. If necessary I can add some later.