Solution. How to install_github when there is a proxy

SOLUTION

Step 1. Install devtools packages

if (!require("devtools")) install.packages("devtools")
library(devtools)

Step 2. Set configuration for our proxy (Please update your information proxy)

library(httr)
set_config(
  use_proxy(url="18.91.12.23", port=8080, username="user",password="password")
)
install_github('rWBclimate', 'ropensci')

Leave a Comment