Copy bundled analysis directory structure to selected directory and reproduce analysis.
reproduce_analysis(to = getwd(), overwrite = FALSE, re_run = FALSE)
to | Character scalar, file path, where to copy analysis structure (default = current working directory). |
---|---|
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()
.