Closed edzer closed 4 years ago
Thank you for the heads up, @edzer . @pedro-andrade-inpe , I checked our package code and it seems we are not using st_make_valid
in any specific operation. So perhaps we can drop @importFrom lwgeom st_make_valid
in the zzz.R
script. Correct?
Thanks, @edzer.
@rafapereirabr, we do not use st_make_valid
, but we need lwgeom
, otherwise we get the following error in the tests:
Converting shapes to sf objects
Error in sf::st_length(geometry) :
package lwgeom required, please install it first
As we need lwgeom
, we have to import at least one function from it to avoid check errors. I'll just replace st_make_valid
by st_geod_length
, which is the function called by sf::st_length()
.
Thanks for the clarification. I guess we can close this issue then.
Upcoming
lwgeom
no longer exportsst_make_valid
, butsf
does. This will affect CRAN checks of gtfs2gps withPlease fix and submit to CRAN.