powered by
Add top-level R script files to use drake in your data analysis project. For details, read https://ropenscilabs.github.io/drake-manual/projects.html
drake
use_drake(open = interactive())
Logical, whether to open make.R for editing.
make.R
Files written:
make.R: a suggested master R script for batch mode.
_drake.R: a configuration R script for the r_*() functions documented at # nolint https://ropenscilabs.github.io/drake-manual/projects.html#safer-interactivity. # nolint Remarks:
_drake.R
There is nothing magical about the name, make.R. You can call it whatever you want.
Other supporting scripts, such as R/packages.R, R/functions.R, and R/plan.R, are not included.
R/packages.R
R/functions.R
R/plan.R
You can find examples at https://github.com/wlandau/drake-examples and download examples with drake_example() (e.g. drake_example("main")).
drake_example()
drake_example("main")
# NOT RUN { # use_drake(open = FALSE) # nolint # }
Run the code above in your browser using DataLab