Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to install gganimate package from Github, both automatically and manually

I am currently trying to install the gganimate package but seem unable to. I am running Win 10, Rx64 3.3.0 and Rstudio 0.99.896; the following command:

devtools::install_github("dgrtwo/gganimate")

will throw this error:

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?)

So after a few hours of despair, I decided to try and install the package manually. I followed this link: here

the following command:

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

results in:

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

but then when I call:

library("gganimate-master") ####  -> as suggsted by R itself!! 

this error is thrown:

Error in library("gganimate-master") : there is no package called ‘gganimate-master’

please, help. I don't have any problems installing other pkgs and honestly don't know what else to try. Thank you in advance, Superzucca

like image 457
superzucca Avatar asked May 23 '16 09:05

superzucca


1 Answers

Try out this. It's working for me.

library(devtools)
library(RCurl)
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
devtools::install_github("dgrtwo/gganimate")
like image 170
Sai Praneeth Avatar answered Oct 12 '22 13:10

Sai Praneeth