r-tmap / tmap

R package for thematic maps
https://r-tmap.github.io/tmap
GNU General Public License v3.0
868 stars 121 forks source link

v3 compat code error in `tm_lines()` #924

Closed olivroy closed 3 months ago

olivroy commented 3 months ago

I was testing tmap v4 and got the following error message given this minimal example

rivers |> tm_shape() + tm_lines(col = "type", palette = "Blues")
#> Error in if (!(args$called_from == "qtm" && (!"col" %in% names(args)))) { : 
#>   missing value where TRUE / FALSE is required
mtennekes commented 3 months ago

Thx!