We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First reported at quarto-dev/quarto-cli#6643
--- title: "Label shouldn't be named" output: html_document: dev: svg --- ```{r} library(gganimate) ``` ```{r} ggplot(mtcars, aes(factor(cyl), mpg)) + geom_boxplot() + transition_states(gear) ```
Quitting from lines 13-16 [unnamed-chunk-2] (test.Rmd) Error in `device()`: ! arguments inutilisés (units = "in", res = 192) Backtrace: 1. rmarkdown::render(...) 2. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet) 3. knitr:::process_file(text, output) 7. knitr:::process_group.block(group) 8. knitr:::call_block(x) ... 19. knitr (local) value_fun(ev$value, ev$visible) 20. knitr (local) fun(x, options = options) 23. gganimate::knit_print.gganim(x, ...) 26. gganimate:::animate.gganim(...) 28. gganimate (local) `<fn>`(...) Exécution arrêtée
We see error comes from gganimate itself. Especially here:
gganimate/R/animate.R
Lines 305 to 306 in 7cd46dc
Basically some options are passed to svg() device function and they are not argument of grDevices::svg()
svg()
grDevices::svg()
knit_print
units
res
gganimate/R/gganim.R
Lines 46 to 54 in 7cd46dc
draw_frames
Lines 285 to 296 in 7cd46dc
res and in are not among svg() arguments
in
rlang::fn_fmls_names(grDevices::svg) #> [1] "filename" "width" "height" "pointsize" "onefile" #> [6] "family" "bg" "antialias" "symbolfamily"
Hence the error I believe.
The text was updated successfully, but these errors were encountered:
3d67d4c
No branches or pull requests
First reported at quarto-dev/quarto-cli#6643
We see error comes from gganimate itself. Especially here:
gganimate/R/animate.R
Lines 305 to 306 in 7cd46dc
Basically some options are passed to
svg()
device function and they are not argument ofgrDevices::svg()
knit_print
method : https://github.com/thomasp85/gganimate/blob/7cd46dc2bc8cf18c1c81f6ef7fc4d00a1d57a385/R/gganim.R#L36C1-L37units
andres
when no width or height; Bothunits
andres
are in error messagegganimate/R/gganim.R
Lines 46 to 54 in 7cd46dc
draw_frames
gganimate/R/animate.R
Lines 285 to 296 in 7cd46dc
res
andin
are not amongsvg()
argumentsHence the error I believe.
The text was updated successfully, but these errors were encountered: