Subsetting drops the sfc class without sf loaded. A permutation does not
change the geometry set, so bbox, crs, precision and n_empty stay
valid and the attributes are reattached unchanged.
Details
i must be a permutation or a repetition of row positions, not a subset: a
selection that drops geometries leaves bbox and n_empty describing rows
that are no longer present.
See also
attach_sfc() to put the result back on a data frame.
Other sf-optional helpers:
attach_sfc()
