luukvdmeer / sfnetworks

Tidy Geospatial Networks in R
https://luukvdmeer.github.io/sfnetworks/
Other
338 stars 20 forks source link

CRAN errors with GEOS version #140

Closed loreabad6 closed 3 years ago

loreabad6 commented 3 years ago

Describe the bug We also have a different error unrelated to spatstat for the solaris flavor. Seems to be due to incompatible GEOS versions that allow the use of st_reverse(). It fails in tests and vignettes.

Reproducible example See the end of the check log. Apparently it is not so easy to test for solaris with r-hub since versions and packages attached differ. When I try the check_on_solaris() I get an error that sf, lwgeom and units are not available and the checks stop.

Expected behavior Success!

We could call in an if statement where the st_reverse examples are only applicable with GEOS > 3.7.

luukvdmeer commented 3 years ago

This is on CRAN now and fixed the errors, thanks!