-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bad interaction between glue and gganimate causing errors in animate()
and anim_save()
#422
Comments
jmcastagnetto
changed the title
Possible bad interactiong between glue and gganimate causing errors in
Possible bad interaction between glue and gganimate causing errors in Dec 5, 2020
animate()
and anim_save()
animate()
and anim_save()
Problem still persists as of 2021-03-07
In case you want to grab the sample code above, it is at: https://github.com/jmcastagnetto/misc-viz/blob/main/20201205-bad-interaction-glue-gganimate.R |
VolodiaPG
pushed a commit
to VolodiaPG/gganimate
that referenced
this issue
May 26, 2023
…come from auto-naming
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There seems to be a problem when using
glue
to interpolate values from a data.frame variable if we also want to make an animation withgganimate
, perhaps is some parsing of "{variables}" in gganimate when generating the temporary frames. Found this problem when generating some animations recentlyHere I am using an example using the Palmer Penguins dataset. First we generate two identical static plots, with and without using
glue
, both workHere is
p1
And
p2
(identical)Now, when if we try to generate an animation, the one using
p2
fails:The last part above gives the following error on my system:
For reference, here is a gif generated from anim1
And here is my
sessionInfo()
The text was updated successfully, but these errors were encountered: