8.2 Accessing GitHub using devtools

The devtools package is used by many people who write R packages and includes a function for downloading from GitHub

install.packages("devtools", dependencies = TRUE) # [ ]

devtools has a lot of dependencies so this might take a while.

Once everything is downloaded, load the package explicitly with library()

library(devtools)