To install the SLAPenrich package from github, first run the following into your R console to install and load devtools package:
install.packages("devtools")
library("devtools")
Next, install the and load SLAPenrich package from github:
install_github("saezlab/SLAPenrich")
library(SLAPenrich)