Last active
July 30, 2021 08:48
-
-
Save datalove/b13e47f3521f53e71bff to your computer and use it in GitHub Desktop.
How get devtools::install_github() working behind a proxy that messes with the SSL certs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(httr) | |
library(devtools) | |
# make httr set CURL to ignore SSL verification problems | |
# (needed if the SSL proxy replaces certs with its own) | |
set_config(config(ssl.verifypeer = 0L)) | |
# set proxy details | |
set_config(use_proxy("10.10.10.10",8080)) | |
install_github("rstudio/ggvis") | |
# change settings back to 0 | |
reset_config() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I still got errors after setting these configs
Any suggestions?