r-tmap/tmap

tm_animate does not return anything for rendered documents (e.g., rmd, qmd, reprex)

Open

#1,150 opened on Jun 25, 2025

View on GitHub
 (11 comments) (0 reactions) (0 assignees)R (120 forks)batch import
Help wanted

Repository metrics

Stars
 (852 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

It would be great if it would render the animation directly in the qmd/rmd output.

library(tmap)
library(spData)

tm_shape(nz) +
  tm_polygons() +
  tm_animate("Name")

Contributor guide