r-tmap/tmap

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

Open

#1150 opened on Jun 25, 2025

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

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