paleolimbot/geos

NAs are not allowed in subscripted assignments

Closed this issue · 0 comments

library(geos)
geos_unary_union_prec(
  c("MULTIPOLYGON (((0 0, 1 0, 0.5 0.5, 0 0)), ((0 0, 1 0, 0.5 0.5, 0 0)))", NA),
  0.1
)
#> <geos_geometry[2]>
#> Error in formatted[use_wkt] <- geos_write_wkt(x[use_wkt], precision = precision): NAs are not allowed in subscripted assignments

Created on 2021-03-21 by the reprex package (v0.3.0)