You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See reproducible example below. Can anyone else reproduce this error message? Seems that the geometries are valid, at least according to sf::st_is_valid():
# Error in build process:# https://github.com/zonebuilders/zonebuilder/runs/3009599916#step:9:233remotes::install_github("mtennekes/tmap")
library(zonebuilder)
library(tmap)
library(sf)
z= zb_zone(london_c(), london_a())
summary(sf::st_is_valid(z))
plot(z)
mapview::mapview(z) # works
qtm(z) # works
tmap_mode("view")
qtm(z)
It says:
# Error: Shape contains invalid polygons. Please fix it or set tmap_options(check.and.fix = TRUE) and rerun the plot