r-spatial / sf

Simple Features for R
https://r-spatial.github.io/sf/
Other
1.35k stars 299 forks source link

ensure vctrs operations work #2350

Closed bart1 closed 8 months ago

bart1 commented 8 months ago

I noticed dplyr::bind_rows failed due to vctrs returning empty subsets for point matrixes. The quick solution I could find was realize in vec_proxy, more elegant would be to keep the point matrix but I'm not sure how to do that as vctrs indexes the list.

Note for the test the bbox needs to be recomputed as x[0] produces a bbox without CRS while vec_slice has one.