-
Notifications
You must be signed in to change notification settings - Fork 107
Description
The RStudio IDE has the option for packages to provide a project template for starting new projects. Workflowr already takes advantage of this. Essentially, the configuration file wflow_start.dcf
allows a user to call wflow_start()
directly from RStudio.
Currently only a few of the many arguments to wflow_start()
are exposed because it is not possible to provide default values to the project template. For example, if the textbox for name
is left blank, an empty string (""
) is passed to wflow_start()
for the name of the project, which is not good.
I'd like to have a function, e.g. wflow_start_rstudio()
, that first processes the data from the RStudio project template, and then calls wflow_start()
, ensuring that the input data is valid for all the arguments. This will allow more arguments to be exposed in the project template.