-
Notifications
You must be signed in to change notification settings - Fork 20
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
.tsv file not generated when using a list as input to animint()
#102
Comments
Oo, interesting. I tested it for myself. For some reason, it renders a # Everyone's favorite package
library(animint2)
# So the implicit clickSelects on
# legends will activate
mtcars$gear <- as.character(mtcars$gear)
# Cars make vroom vroom sounds
# unless they're electric 🚗
vroom <- mtcars |>
ggplot() +
geom_point() +
aes(x = wt, y = mpg,
group = gear, color = gear)
# This generates both the animint
# and the .tsv file
animint(vroom) |
Oh I see the mix-up now, |
yes |
animint()
animint()
Apparently electric cars also make vroom vroom sounds. It's like a law thing so hearing people can hear the cars and not get hit. Anyway, just wanted to correct this factual inaccuracy. Thank you. :> |
Description:
When using the
animint()
function with internal data, I observed that there are no .tsv data files generated in the specified/temp output directory.*By 'internal data', I mean the datasets pre-loaded in base package and animint2 package.
Observations:
For the
animint()
function:mtcars
in the example).wbstats
package and the output utilizes a temporary directory and serves the output withservr
.Now if you try the
animint2dir()
function with the same viz list above, it seems to compile and render successfully without any issues.The text was updated successfully, but these errors were encountered: