Copies bundled analysis directory structure to selected directory and reproduces analysis.

reproduce_analysis(to = getwd(), overwrite = FALSE, re_run = FALSE)

Arguments

to

character. File path, where to copy analysis structure, Default: getwd()

overwrite

logical. Whether to overwrite the analysis directory structure, Default: FALSE

re_run

logical. Whether to re-run the analysis from scratch.

Details

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().