tidymodels / spatialsample

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

rm_out when buffer is null #97

Closed mikemahoney218 closed 2 years ago

mikemahoney218 commented 2 years ago

This is a small optimization to remove out_id whenever is.null(buffer).

The reason to not use rm_out is to handle points that aren't in either analysis or assessment. That should only happen with a non-NULL buffer, and so this change doesn't change any behavior but does return slightly smaller rsplits.

github-actions[bot] commented 2 years 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.