-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove caching of
across()
selections (#5855)
- Caching `.fns` is too perilous. The function might produce side effects or depend on state. - Caching `.cols` is no longer as useful with top-level `across()` expansion. We still cache for `c_across()` as it doesn't have any expansion yet. The caching takes into account the quosure env to improve correctness. Should be further improved by not caching any selection that includes env-expressions since these might have side effects and depend on state. Closes #5835.
- Loading branch information
Showing
2 changed files
with
36 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.