R 安装gganimate提示错误 怎么解决?

g
library(ggplot2)
library(gapminder)
library(gifski)
library(av)
library(gganimate)
gganimate(g)
错误: It appears that you are trying to use the old API, which has been deprecated.
Please update your code to the new API or install the old version of gganimate
from https://github.com/thomasp85/gganimate/releases/tag/v0.1.1

API是什么? 如何升级?或怎么安装低版本的gganimate

https://blog.csdn.net/u012111465/article/details/80008249?utm_source=blogxgwz9