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

标签 r installation manual

我目前正在尝试安装 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/

相关文章:

python - 如何在 Python 中手动对数字列表进行排序?

r - 如何在 igraph 中添加数据框作为具有匹配 id 的顶点属性?

r - 在 R 中生成列表的所有不同排列

ruby - 如何使用 mkmf.log 提示找不到 libiconv 安装 Nokogiri Ruby gem?

javascript - 是否有等效于 php.net 的 JavaScript?

command - GNU APL 行编辑器(∇-editor)支持哪些编辑命令?

以 Shiny 的方式渲染 ggvis 控件

R:如何连接向量列表中的字符串向量

installation - 修复Homebrew警告: Directory should not end in a slash

python - Pipenv安装错误: Command "python setup.py egg_info" failed with error code 1 in