# \donttest{
file_path <- system.file("extdata/cyl_temp.tif", package = "tidyterra")
library(terra)
temp <- rast(file_path)
library(ggplot2)
autoplot(temp)
# With a tile
system.file("extdata/cyl_tile.tif", package = "tidyterra") %>%
rast() %>%
autoplot(rgb = TRUE)
# }
Run the code above in your browser using DataLab