error now arises when running calc_swept_area using bundled strata shapefile. EPU shapefile is fine. Making an issue in sf repo
survey <- readRDS("C:/Users/andrew.beet/Documents/MyWork/gitHub_repos/survdat/testing/survdat2021.RDS")
data <- survey$survdat
survdat::calc_swept_area(data)
#> Prepping data ...
#> Error in s2_geography_from_wkb(x, oriented = oriented, check = check): Evaluation error: Found 3 features with invalid spherical geometry.
#> [145] Loop 0 is not valid: Edge 520 has duplicate vertex with edge 661
#> [159] Loop 0 is not valid: Edge 804 has duplicate vertex with edge 824
#> [276] Loop 0 is not valid: Edge 470 has duplicate vertex with edge 482.
error now arises when running
calc_swept_area
using bundledstrata
shapefile.EPU
shapefile is fine. Making an issue insf
repoCreated on 2021-08-17 by the reprex package (v2.0.1)