# remotes::install_github("mtennekes/tmap")
library(tmap)
library(terra)
#> terra version 1.0.7
# 1 -----------------------------------------------------------------------
elev = rast(system.file("ex/elev.tif", package = "terra"))
tm_shape(elev) +
tm_raster(style = "cont")
#> Linking to GEOS 3.8.1, GDAL 3.1.4, PROJ 6.3.2
# 2 -----------------------------------------------------------------------
logo = rast(system.file("ex/logo.tif", package = "terra"))
tm_shape(logo) +
tm_rgb()
Created on 2021-01-07 by the reprex package (v0.3.0)