-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Description
library(terra)
library(tmap)
r <- rast(matrix(NA, 2, 2), crs = "EPSG:4326")
# not reading from disk
tm_shape(r) + tm_raster(col.scale = tm_scale(value = "inferno"))
#> Error in tmapScale_returnNA(n = length(x1), legend = legend, value.na = value.na, : unused argument (na.show = na.show)
writeRaster(r, f <- tempfile(fileext='.tif'))
r <- rast(f)
# from disk, with palette specified
tm_shape(r) + tm_raster(col.scale = tm_scale(value = "inferno"))
#> Error in tmapScale_returnNA(n = length(x1), legend = legend, value.na = value.na, : unused argument (na.show = na.show)
Supersedes: #529.
Metadata
Metadata
Assignees
Labels
No labels