Trying to install gganimate and I run into the following error regardless of whether I install from the CRAN repo or from the git source (thomasp85/gganimate).
* installing *source* package 'gganimate' ...
** R
** byte-compile and prepare package for lazy loading
Error : (converted from warning) package 'ggplot2' was built under R version 3.5.3
ERROR: lazy loading failed for package 'gganimate'
* removing 'C:/Users/KrithivasanD/Documents/R/R-3.5.2/library/gganimate'
In R CMD INSTALL
Error: Failed to install 'gganimate' from GitHub:
(converted from warning) installation of package ‘C:/Users/KRITHI~1/AppData/Local/Temp/RtmpCGVclK/file27385674558d/gganimate_1.0.4.9000.tar.gz’ had non-zero exit status
It looks like a version conflict between ggplot2 and gganimate and I can't find any other mention of a similar problem. Any help towards resolving this would be much appreciated. Thanks