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

superzucca picture superzucca · May 23, 2016 · Viewed 8.4k times · Source

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

Answer

Sai Praneeth picture Sai Praneeth · Sep 15, 2017

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