Installing R packages from Github


Is it possible to install an R package that is in a Github repository and if so is it possible to install a package that is in a private repository?


Hi @akenny,

The devtools package has a function install_github which also allows to install from a private repo using the auth_token argument. More details in




Works lovely, thank you!