无法自动和手动从Github安装gganimate包

sup*_*cca 8 install r manual

我目前正在尝试安装gganimate包,但似乎无法.我正在运行Win 10,Rx64 3.3.0和Rstudio 0.99.896; 以下命令:

devtools::install_github("dgrtwo/gganimate")
Run Code Online (Sandbox Code Playgroud)

将抛出此错误:

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?)
Run Code Online (Sandbox Code Playgroud)

因此,经过几个小时的绝望,我决定尝试手动安装包.我按照这个链接: 这里

以下命令:

install.packages(pkgs = "C:/Users/Superzucca/Desktop/gganimate-master.zip", repos = NULL)
Run Code Online (Sandbox Code Playgroud)

结果是:

    Installing package into ‘C:/Users/Superzucca/Documents/R/win-library/3.3’ 
(as ‘lib’ is unspecified)
Run Code Online (Sandbox Code Playgroud)

但是当我打电话的时候:

library("gganimate-master") ####  -> as suggsted by R itself!! 
Run Code Online (Sandbox Code Playgroud)

抛出此错误:

Error in library("gganimate-master") : there is no package called ‘gganimate-master’
Run Code Online (Sandbox Code Playgroud)

请帮忙.我没有任何问题安装其他pkgs,老实说,不知道还有什么可以尝试.提前谢谢你,Superzucca

sup*_*cca 1

找出问题,并更新答案(如果将来有人需要)。

这个链接到另一个SO问题部分解决了我的问题;我还必须将 R、Rstudio 和库文件夹添加到我的 AntiVirus 的排除列表中,当然还要以管理员身份运行:)