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
Error in s2::s2_distance_matrix(x, y, ...) :
unused argument (drop = TRUE)
While calculating the distances from the cutoff points with sf::st_distance, it appears this argument is passed on to s2::s2_distance_matrix, which does not support it and returns the previous error. I was unable to make the function work by changing the arguments, and I'm pretty sure my data is in the right format
The text was updated successfully, but these errors were encountered:
Hello,
This is most probably related to recent changes in sf. Please try switching off s2 with sf::sf_use_s2(FALSE). The ideal solution, however, would be to check the CRS of your spatial data. It could be that you are using what the sf maintainers call "an old-style CRS object" that does not use WKT2.
Trying to execute the function
spatialrd
returnsWhile calculating the distances from the cutoff points with
sf::st_distance
, it appears this argument is passed on tos2::s2_distance_matrix
, which does not support it and returns the previous error. I was unable to make the function work by changing the arguments, and I'm pretty sure my data is in the right formatThe text was updated successfully, but these errors were encountered: