我正试图devtools::install_github()在Windows 7上的公司代理后面工作.
到目前为止,我必须做以下事情:
> library(httr)
> library(devtools)
> set_config(use_proxy("123.123.123.123",8080))
> devtools::install_github("rstudio/ggvis")
Installing github repo ggvis/master from rstudio
Downloading master.zip from https://github.com/rstudio/ggvis/archive/master.zip
Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
显然,我们有一些证书服务器用我们自己的公司SSL证书替换SSL证书(通过访问https://github.com并检查证书确认).
无论如何,只是想知道是否有办法忽略该证书错误并继续安装?
我目前正在尝试安装gganimate包,但似乎无法.我正在运行Win 10,Rx64 3.3.0和Rstudio 0.99.896; 以下命令:
devtools::install_github("dgrtwo/gganimate")
将抛出此错误:
Downloading GitHub repo dgrtwo/gganimate@master
from URL https://api.github.com/repos/dgrtwo/gganimate/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Problem with the SSL CA cert (path? access rights?)
因此,经过几个小时的绝望,我决定尝试手动安装包.我按照这个链接: 这里
以下命令:
install.packages(pkgs = "C:/Users/Superzucca/Desktop/gganimate-master.zip", repos = NULL)
结果是:
    Installing package into ‘C:/Users/Superzucca/Documents/R/win-library/3.3’ 
(as ‘lib’ is unspecified)
但是当我打电话的时候:
library("gganimate-master") ####  -> as suggsted by R itself!! 
抛出此错误:
Error in library("gganimate-master") : there is no package called ‘gganimate-master’
请帮忙.我没有任何问题安装其他pkgs,老实说,不知道还有什么可以尝试.提前谢谢你,Superzucca