- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我尝试调用 install_github 时,出现以下错误(不仅针对此包,还针对所有 github 包):
> install_github('ramnathv/slidify')
Downloading github repo ramnathv/slidify@master
Error in curl::curl_fetch_memory(url, handle = handle) :
Problem with the SSL CA cert (path? access rights?)
> x <- getBinaryURL(
url='https://github.com/ramnathv/slidify/archive/master.zip',
followlocation=1L
)
> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 8 (jessie)
locale:
[1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C
[3] LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
[5] LC_MONETARY=en_US.utf8 LC_MESSAGES=en_US.utf8
[7] LC_PAPER=en_US.utf8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RCurl_1.95-4.7 bitops_1.0-6 devtools_1.8.0
loaded via a namespace (and not attached):
[1] httr_1.0.0 R6_2.1.0 magrittr_1.5 rversions_1.0.2
[5] tools_3.2.1 curl_0.9.1 Rcpp_0.12.0 memoise_0.2.1
[9] xml2_0.1.1 stringi_0.5-5 git2r_0.10.1 stringr_1.0.0
[13] digest_0.6.8
> curlVersion()
$age
[1] 3
$version
[1] "7.38.0"
$vesion_num
[1] 468480
$host
[1] "x86_64-pc-linux-gnu"
$features
ipv6 ssl libz ntlm asynchdns spnego
1 4 8 16 128 256
largefile idn tlsauth_srp ntlm_wb
512 1024 16384 32768
$ssl_version
[1] "OpenSSL/1.0.1k"
$ssl_version_num
[1] 0
$libz_version
[1] "1.2.8"
$protocols
[1] "dict" "file" "ftp" "ftps" "gopher" "http" "https" "imap"
[9] "imaps" "ldap" "ldaps" "pop3" "pop3s" "rtmp" "rtsp" "scp"
[17] "sftp" "smtp" "smtps" "telnet" "tftp"
$ares
[1] ""
$ares_num
[1] 0
$libidn
[1] "1.29"
httr::set_config( httr::config( ssl_verifypeer = 0L ) )
那么我就可以成功运行
install_github
但我更愿意实际检查 ssl 证书。
最佳答案
终于想通了这一点。
我安装了两个不同的 ssl 库,出于某种原因,针对 libcurl4-openssl-dev 构建的 RCurl 包和针对 libcurl4-nss-dev 构建的 curl 包,但我只为 openssl 安装了 CA key ,而不是为 nss。
我用 remove.packages('curl')
解决了我的问题在 R 中,然后退出 R 并从 shell apt-get remove libcurl4-nss-dev
开始 R 和 install.packages('curl')
我的错误导致了我的问题,是使用 RCurl
测试 SSL CA 处理。而不是 httr
或 curl
,这会让我很快意识到我的 curl
包被链接到错误的 SSL 库。
关于r - devtools::install_github 因 CA 证书错误而失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31643036/
我终于设法使我的代理设置适用于 GitHub 克隆,使用以下代码: options(rsconnect.http = "internal") Sys.setenv(http_proxy = "htt
我尝试在 R 中安装来自 github 的软件包,但是收到以下错误: > install_github("jmp75/rClr", build_vignettes=TRUE) Downloading
我正在尝试从 github 安装软件包,但是当我使用install_github。 library(devtools)install_github(repo="swirl", username="nc
如果软件包的当前版本出现一些错误,用户可能更愿意安装特定版本(例如版本 1.0.1)。可以使用什么样的R代码来实现这一目标? 以最新OhdsiRTools R包的发布为例: https://githu
我正在尝试将此软件包安装到我的R环境中。 https://github.com/bmschmidt/wordVectors 我收到编译器错误。这与github页面上发现的错误相同。 https://g
我从 github fork 了一个包并做了一些更改。我正在尝试安装已使用 install_github() 进行更改的软件包版本,但收到错误消息。有什么建议吗? fork 版本:https://gi
这是我第一次尝试下载 Github 包,我在 MacOS Big Sur v11.2.1 上使用 RStudio v1.2.5033 时遇到了一些问题。 最初,当运行 library(devtools
默认情况下,当使用 R 中的 devtools 包中的 install_github 函数时,不会构建已安装包的小插图。我已经看到这个问题的答案,它展示了如果有人愿意的话如何构建小插图 Buildin
我是 linux 的新手。我正在尝试使用 dropEst 管道分析测序数据 https://github.com/hms-dbmi/dropEst#dropreport .我想运行 DropRepor
当我尝试调用 install_github 时,出现以下错误(不仅针对此包,还针对所有 github 包): > install_github('ramnathv/slidify') Download
我正在尝试获取 devtools::install_github()在 Windows 7 上工作在我的公司代理后面。 到目前为止,我必须执行以下操作: > library(httr) > libra
查遍了整个互联网,但没有找到解决方案。 现在已经为这个问题苦苦挣扎了几个小时。 library(devtools) install_github("araastat/reprtree") 但我每次都会
当我尝试使用 devtools 从 git-hub 下载并安装软件包时,我遇到了这个问题。 R 版本:3.1.3(64 位) > install_github("hadley/httr") Downl
标题很长,真的把我想说的都说了。但是在制作R包并放在github上时,是否需要在推送到github之前先构建roxygen文档?否则,我在使用 devtools::install_github 时似乎
我试图让 R 在我的 Windows 机器上与 Jupyter Notebook 一起工作。我关注了 IRkernel tutorial . 但是,我无法安装 GitHub 存储库,总是出现错误 in
使用 devtools::install_github() 从 GitHub 安装 R 包时,返回以下错误: ERROR: failed to lock directory ‘/Library/Fra
我正在 GitHub 上开发两个包,并尝试使用 devtools::install_github() 命令安装它们。 由于存储库是私有(private)的,我为我的帐户创建了一个 auth_token
使用 devtools::install_github() 从 GitHub 安装 R 包时,返回以下错误: ERROR: failed to lock directory ‘/Library/Fra
Goal: I want to install dssrip package for R 3.6.0 32-bit on Windows 10 Enterprise. 我安装了 32 位和 64 位版
使用 devtools 在 R 中安装了一个包,即 devtools::install_github("username/repo_name") 我如何卸载这个包? 最佳答案 我的问题不完整,我还没有
我是一名优秀的程序员,十分优秀!