【问题标题】:Can not Install twitter AnomalyDetection package [duplicate]无法安装 twitter AnomalyDetection 包 [重复]
【发布时间】:2016-09-21 11:01:28
【问题描述】:

这是我用来在 R 版本 3.3.0 (2016-05-03) 中安装包的代码。

install.packages("devtools")
devtools::install_github("twitter/AnomalyDetection")
library(AnomalyDetection)

这是我尝试安装包 AnomalyDetection 时得到的结果。

Downloading GitHub repo twitter/AnomalyDetection@master
from URL https://api.github.com/repos/twitter/AnomalyDetection/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Problem with the SSL CA cert (path? access rights?)

【问题讨论】:

  • 我有相同的 R 版本 (Mac),它适用于我。还考虑到错误消息,这似乎是 GitHub 而不是 R 的问题。
  • 嗨,十一美元,那么您的建议是什么。
  • 嗨 epo3 ,我也尝试过使用库 Rcurl。但我得到了同样的错误。

标签: r twitter


【解决方案1】:

好的,我得到了答案。

library(RCurl)
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")
devtools::install_github("twitter/AnomalyDetection")
library(AnomalyDetection)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-01-14
    • 2018-09-24
    • 1970-01-01
    • 2013-10-31
    • 2021-03-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多