相关疑难解决方法(0)

devtools :: install_github() - 忽略SSL证书验证失败

我正试图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
Run Code Online (Sandbox Code Playgroud)

显然,我们有一些证书服务器用我们自己的公司SSL证书替换SSL证书(通过访问https://github.com并检查证书确认).

无论如何,只是想知道是否有办法忽略该证书错误并继续安装?

r devtools rcurl

18
推荐指数
1
解决办法
9632
查看次数

无法自动和手动从Github安装gganimate包

我目前正在尝试安装gganimate包,但似乎无法.我正在运行Win 10,Rx64 3.3.0和Rstudio 0.99.896; 以下命令:

devtools::install_github("dgrtwo/gganimate")
Run Code Online (Sandbox Code Playgroud)

将抛出此错误:

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?)
Run Code Online (Sandbox Code Playgroud)

因此,经过几个小时的绝望,我决定尝试手动安装包.我按照这个链接: 这里

以下命令:

install.packages(pkgs = "C:/Users/Superzucca/Desktop/gganimate-master.zip", repos = NULL)
Run Code Online (Sandbox Code Playgroud)

结果是:

    Installing package into ‘C:/Users/Superzucca/Documents/R/win-library/3.3’ 
(as ‘lib’ is unspecified)
Run Code Online (Sandbox Code Playgroud)

但是当我打电话的时候:

library("gganimate-master") ####  -> as suggsted by R itself!! 
Run Code Online (Sandbox Code Playgroud)

抛出此错误:

Error in library("gganimate-master") : there is no package called ‘gganimate-master’
Run Code Online (Sandbox Code Playgroud)

请帮忙.我没有任何问题安装其他pkgs,老实说,不知道还有什么可以尝试.提前谢谢你,Superzucca

install r manual

8
推荐指数
1
解决办法
7868
查看次数

标签 统计

r ×2

devtools ×1

install ×1

manual ×1

rcurl ×1