Skip to content

Wrapper function to enhance RStudio Project Template #193

@jdblischak

Description

@jdblischak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions