Doing truly reproducible research using R is difficult! If your code uses CRAN packages, and those packages have been updated since you last ran your code, then you may get different results. Rather than declaring dependencies using only package names, for example library(glmnet), I have found that it helps to also declare the versions, for example works_with_R("3.2.3", glmnet="1.9.5"). In this lightning talk I will briefly explain how these declarations make it easier to (1) install packages, (2) load packages, and (3) perform reproducible research.