Copy the analysis directory structure of a packaged drake
workflow to the
selected directory.
copy_analysis(to = getwd(), drake = TRUE, overwrite = FALSE)
to | Character scalar, file path, where to copy the workflow's files to (default = current working directory). |
---|---|
drake | Logical, whether to copy |
overwrite | Logical, whether to overwrite the analysis directory structure (default = |
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).