library(spatialist)
library(terra)
library(tidyterra)
library(ggplot2)
f <- system.file("ex/elev.tif", package="terra")
r <- rast(f)
ggplot() +
geom_spatraster(data = r)
pixel_dim(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.