I am currently trying to get the sf::st_make_valid() function work under R 3.3.3 (Windows).
My problem is that the sf package does not build against the liblwgeom library. To install liblwgeom under windows, I tried installing the osgeo4w that according to its installation options lists the liblwgeom library. Still, after installing the liblwgeom through the osgeo4w installer, sf does not recognize the liblwgeom library.
From sf documentation on valid functionality: It is only available if the package was linked against liblwgeom, which is currently not the case for the binary CRAN distributions; see the package source code repository for instructions how to install liblwgeom
Any suggestions?
install.packages("sf")
library(sf)
Linking to GEOS 3.5.0, GDAL 2.1.1, proj.4 4.9.3
If sf recognized the liblwgeom library, it should be indicated when loading the sf package.
Anyone has experience with how to enable st_make_valid functionality in the sf package and how to install liblwgeom on Windows?