Not sure if this is due to upgrading to R v4.1 or a new version of sf, but the states overlap functions are failing likely due to issues with those polygons
Reading layer `example_shapefile' from data source
`/Library/Frameworks/R.framework/Versions/4.1/Resources/library/meddle/extdata/example_shapefile'
using driver `ESRI Shapefile'
Simple feature collection with 2 features and 3 fields
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -106 ymin: 31.4 xmax: -88.5 ymax: 44
Geodetic CRS: WGS 84
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-feature_extraction.R:51:3): feature overlap with states are correct ──
Error: Evaluation error: Found 8 features with invalid spherical geometry.
[4] Loop 0 is not valid: Edge 344 crosses edge 346
[5] Loop 0 is not valid: Edge 56 crosses edge 58
[16] Loop 0 is not valid: Edge 0 has duplicate vertex with edge 394
[31] Loop 1 is not valid: Edge 236 crosses edge 239
[40] Loop 0 is not valid: Edge 0 has duplicate vertex with edge 163
[41] Loop 0 is not valid: Edge 249 has duplicate vertex with edge 251
[42] Loop 0 is not valid: Edge 916 crosses edge 918
[45] Loop 2 is not valid: Edge 387 crosses edge 390.
Not sure if this is due to upgrading to R v4.1 or a new version of
sf
, but the states overlap functions are failing likely due to issues with those polygons