繁体   English   中英

R-install_github失败

[英]R - install_github fails

我正在尝试从R中的github安装软件包,但是出现以下错误:

> install_github("jmp75/rClr", build_vignettes=TRUE)
Downloading github repo jmp75/rClr@master
Error in curl::curl_fetch_memory(url, handle = handle) : 
Peer certificate cannot be authenticated with given CA certificates

我已经将RCurl选项设置为:

options(RCurlOptions = c(getOption("RCurlOptions"),   ssl.verifypeer = FALSE,  ssl.verifyhost = FALSE ) )

检查设置后:

getOption("RCurlOptions")

我们看....

$cainfo
[1] "C:/_CODE/R/Library/RCurl/etc/ca-bundle.crt"

$ssl.verifypeer
[1] FALSE

$ssl.verifyhost
[1] FALSE

我仍然收到错误:

Downloading github repo jmp75/rClr@master
Error in curl::curl_fetch_memory(url, handle = handle) : 
Peer certificate cannot be authenticated with given CA certificates

任何线索

这样行吗? 我最近不得不将这段代码从ssl.verifypeerssl_verifypeer

library(httr)
set_config(config(ssl_verifypeer = 0L))

看到这里devtools :: install_github()-忽略SSL证书验证失败

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM