Reproducible Data Workflows With Drake

July 19, 2019

A gentle introduction to reproducible data workflows with the {drake} package.

July 19, 2019


12:00 AM


Tampa, FL


drake is an R package that provides a powerful, flexible workflow management tool for reproducible data analysis pipelines. drake alleviates the pain of managing large (and even small) data analyses, speeding up iteration and development while providing reproducibility guarantees that are essential for modern research.

In this session, we’ll learn how to use drake to manage a data analysis workflow by writing functions that define the steps of the analysis. We’ll then learn how drake can keep track of all of these steps, from start to finish, and intelligently update only the outdated steps when your data or code change.

Meeting prerequisites #

We’ll work through a few examples together, so please bring a laptop with the drake and visNetwork packages installed. (If you don’t have a laptop you can share with someone who does at the session.) You would also benefit from installing the tidyverse package for the session. See the full requirements here.

required_packages <- c(
  # "tidyverse",  #<< For data processing, etc. (you probably have this)
  "here",         #<< For sane path management
  "cowplot",      #<< For composing ggplot2 plots
  "visNetwork",   #<< For visualizing drake plans
  "drake"         #<< Because drake


Note: if you’ve used drake before, please ensure that you have version 7.0.0 or later installed.

Meeting materials #

The slides from this talk are available online at and the drake source code and RStudio project are in available on GitHub at There is also an RStudio Cloud project containing the drake project with all of the required dependencies pre-installed that you can use to explore and run the code from the talk.

Posted on:
July 19, 2019
2 minute read, 269 words
R drake Reproducible Research Workflow Tutorials Education
See Also:
xaringanExtra v0.6.0 — Now on CRAN!
Wordle Guess Helper
branchMover: A Shiny app for moving the default branch of your GitHub repos