Error installing FAS package from github

Following the instructions from fishR, I get the next message:

Error in function (type, msg, asError = TRUE) : couldn’t connect to host

Of course, my institution filters outgoing internet connection through a proxy, so here is some steps to overcome this issue:

## ------------------------------------------
install.packages("httr")
if (!require('devtools')) install.packages('devtools')
library(devtools)
library(httr)

## settings your proxy using 'httr' package
set_config(use_prox(url="http://proxyname.or.number",port=8080,username="youruser",password="yourpass"))
(set_config(verbose())) # check the configuration

## installing from github
devtools::install_github('FSA','droglenc')

reset_config()  # only if you want to revert the proxy configuration
## ------------------------------------------