我目前正在尝试安装 gganimate 包,但似乎无法安装。
我正在运行 Win 10、Rx64 3.3.0 和 Rstudio 0.99.896;
以下命令:
devtools::install_github("dgrtwo/gganimate")
会抛出这个错误:
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?)
因此,在绝望了几个小时之后,我决定尝试手动安装该软件包。我跟着这个链接:
here
以下命令:
install.packages(pkgs = "C:/Users/Superzucca/Desktop/gganimate-master.zip", repos = NULL)
结果是:
Installing package into ‘C:/Users/Superzucca/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
但是当我打电话时:
library("gganimate-master") #### -> as suggsted by R itself!!
抛出此错误:
Error in library("gganimate-master") : there is no package called ‘gganimate-master’
请帮忙。我安装其他 pkgs 没有任何问题,老实说,我不知道还能尝试什么。
先感谢您,
super 祖卡
最佳答案
试试这个。它对我有用。
library(devtools)
library(RCurl)
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
devtools::install_github("dgrtwo/gganimate")
关于r - 无法从 Github 自动和手动安装 gganimate 包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37387664/