reproduce_analysis.RdCopies bundled analysis directory structure to selected directory and reproduces analysis.
reproduce_analysis(to = getwd(), overwrite = FALSE, re_run = FALSE)
| to | character. File path, where to copy analysis structure,
Default: |
|---|---|
| overwrite | logical. Whether to overwrite the analysis directory
structure, Default: |
| re_run | logical. Whether to re-run the analysis from scratch. |
This function will copy the analysis directory structure supplied
with the package and the .drake/ directory into the user's working
directory (or the directory supplied to the to parameter) and reproduce
the analysis by running drake::make().