尝试安装gganimate时,无论我是从CRAN存储库还是从git源(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
看起来ggplot2和gganimate之间存在版本冲突,我找不到其他提及类似问题的信息。任何帮助解决这个问题将不胜感激。谢谢