Skip to content

pkgdown fails to include rendered gifs in rmd articles #2341

@thomasp85

Description

@thomasp85

Using gganimate to render animation into gifs no longer works in vignettes/articles, with pkgdown throwing the following type of warning:

Warning message:
Missing images in 'vignettes/gganimate.Rmd': '../docs/articles/gganimate_files/figure-html/unnamed-chunk-3-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-4-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-5-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-6-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-8-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-9-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-10-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-11-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-12-1.gif', '../docs/articles/gganimate_files/figure-html/unnamed-chunk-14-1.gif'
ℹ pkgdown can only use images in 'man/figures' and 'vignettes' 

Looking at the rendered site, the gifs has been removed from the output. However, the rendered gifs are present in the corresponding figure-html folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    articles ✍️bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions