wflow_open
is a convenience function to make it easier to start
working, especially when starting a new analysis. It will create a new file
if necessary, set the working directory to analysis/
, and open the
file(s) in RStudio. The latter two side effects can be turned off if desired.
If you are not using RStudio and are comfortable with relative paths and
managing your working directory, you could instead directly use the
underlying commands. First set the working directory to the analysis/
subdirectory of your workflowr project. Second create the new file with
draft("model-data.Rmd", template = "analysis", package = "workflowr",
edit = FALSE)
. Third open the file in your text editor.