How to install development version of R packages github repository

via Hadley at https://github.com/hadley/ggplot2

install.packages("devtools")

library(devtools)

dev_mode(on=T)

install_github("hadley/ggplot2")

# use dev ggplot2 now

# when finished do:

dev_mode(on=F)  #and you are back to having stable ggplot2

Leave a Comment