Closed thomased closed 1 year ago
One low dependency alternative could be https://r-spatial.github.io/s2/reference/s2_contains.html
Upon testing s2, it appears that it works exclusively for geometry on a sphere and is therefore not appropriate for our use case.
Alternatives are:
Ah right - thanks. I wouldn’t mind copying some code in the long run since it’s just to support that one tiny use, but I’m not up on weaving in cpp.
How about just using the working solution you’ve got for now, and aiming for a neater solution next release?
I’ve got some new features I’d like to get done, so release after this one should only be a 2-3 months.
Only used here
https://github.com/rmaia/pavo/blob/347865f97ef7068211c29fb877799c4987830ac4/R/adjacent.R#L654