Rebuild an sf object geometry to fix cross edges

make_valid_geom_s2(sf_object)

Arguments

sf_object

An sf object to fix