Packages

We’ll need the following packages to get started. Comment out or delete the lines containing any packages in required_packages that you already have installed on your system.

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
)

install.packages(required_packages)

Data and Materials

You can explore this workshop in a pre-loaded RStudio cloud instance.

Or download the code and data from github.com/gadenbuie/drake-intro.


My Session Info

devtools::session_info()
## ─ Session info ──────────────────────────────────────────────────────────
##  setting  value                       
##  version  R version 3.5.2 (2018-12-20)
##  os       macOS High Sierra 10.13.6   
##  system   x86_64, darwin15.6.0        
##  ui       X11                         
##  language (EN)                        
##  collate  en_US.UTF-8                 
##  ctype    en_US.UTF-8                 
##  tz       America/New_York            
##  date     2019-07-22                  
## 
## ─ Packages ──────────────────────────────────────────────────────────────
##  package     * version    date       lib source                      
##  assertthat    0.2.1      2019-03-21 [1] standard (@0.2.1)           
##  backports     1.1.4      2019-04-10 [1] standard (@1.1.4)           
##  callr         3.2.0      2019-03-15 [1] standard (@3.2.0)           
##  cli           1.1.0      2019-03-19 [1] standard (@1.1.0)           
##  crayon        1.3.4      2017-09-16 [1] CRAN (R 3.5.0)              
##  desc          1.2.0      2018-05-01 [1] CRAN (R 3.5.0)              
##  devtools      2.0.1      2018-10-26 [1] standard (@2.0.1)           
##  digest        0.6.19     2019-05-20 [1] CRAN (R 3.5.2)              
##  evaluate      0.13       2019-02-12 [1] CRAN (R 3.5.2)              
##  fs            1.3.1      2019-05-06 [1] CRAN (R 3.5.2)              
##  glue          1.3.1      2019-03-12 [1] standard (@1.3.1)           
##  htmltools     0.3.6      2017-04-28 [1] CRAN (R 3.5.0)              
##  knitr         1.22       2019-03-08 [1] CRAN (R 3.5.2)              
##  magrittr      1.5        2014-11-22 [1] CRAN (R 3.5.0)              
##  memoise       1.1.0      2017-04-21 [1] CRAN (R 3.5.0)              
##  pkgbuild      1.0.3      2019-03-20 [1] CRAN (R 3.5.2)              
##  pkgload       1.0.2      2018-10-29 [1] CRAN (R 3.5.0)              
##  prettyunits   1.0.2      2015-07-13 [1] CRAN (R 3.5.0)              
##  processx      3.3.1      2019-05-08 [1] CRAN (R 3.5.2)              
##  ps            1.3.0      2018-12-21 [1] CRAN (R 3.5.0)              
##  R6            2.4.0      2019-02-14 [1] CRAN (R 3.5.2)              
##  Rcpp          1.0.1      2019-03-17 [1] standard (@1.0.1)           
##  remotes       2.0.4      2019-04-10 [1] CRAN (R 3.5.2)              
##  rlang         0.4.0.9000 2019-07-08 [1] Github (r-lib/rlang@c375d5b)
##  rmarkdown     1.13       2019-05-22 [1] CRAN (R 3.5.2)              
##  rprojroot     1.3-2      2018-01-03 [1] CRAN (R 3.5.0)              
##  sessioninfo   1.1.1      2018-11-05 [1] standard (@1.1.1)           
##  stringi       1.4.3      2019-03-12 [1] standard (@1.4.3)           
##  stringr       1.4.0      2019-02-10 [1] CRAN (R 3.5.2)              
##  testthat      2.1.1      2019-04-23 [1] CRAN (R 3.5.2)              
##  usethis       1.5.0.9000 2019-06-17 [1] local                       
##  withr         2.1.2      2018-03-15 [1] CRAN (R 3.5.0)              
##  xfun          0.7        2019-05-14 [1] CRAN (R 3.5.2)              
##  yaml          2.2.0      2018-07-25 [1] CRAN (R 3.5.0)              
## 
## [1] /Library/Frameworks/R.framework/Versions/3.5/Resources/library