This package is an example of how to provide an analysis workflow using the drake
package as an R package/research compendium. The idea is to include both the analysis directory strucure, including all inputs needed to reproduce the analysis as well as all generated outputs, and the .drake
directory with the package. Using included functions, the user can easily reproduce the included analysis and inspect the analysis workflow (more details on how to do so are given in the vignette and/or on the pkgdown
site).
Install the package using
# without vignette
devtools::install_github("januz/drakepkg")
# with vignette
devtools::install_github("januz/drakepkg", build_vignettes = TRUE)
To reproduce the analysis in the exact computational environment used to create it by the original authors, use one of the following options: