tidymodels / spatialsample

Create and summarize spatial resampling objects 🗺
https://spatialsample.tidymodels.org
Other
71 stars 5 forks source link

Use map with bind_rows rather than map_dfr() #138

Closed mikemahoney218 closed 1 year ago

mikemahoney218 commented 1 year ago

Inspired by https://github.com/tidymodels/rsample/pull/423 :smile:

This PR uses dplyr::bind_rows() in order to preserve the class of the input data (namely, to keep our data as sf objects); unfortunately purrr::list_rbind() casts to a pure data.frame.

github-actions[bot] commented 1 year ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.