这是我用于在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?)
答案 0 :(得分: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)