forked from tidyverse/dplyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache more in across_setup() (tidyverse#4982)
* cache more in across_setup() * use match.call() in across_setup() and c_across_setup() * enquo() later * inline local_column() in across_apply() * Standardize on non-dotted arguments * Extract out `key` into its own variable * Use simpler and faster `sys.call()` rather than `match.call()` * Set `cur_column()` info once per column * Formatting tweaks * `enquo()` later in `c_across_setup()` * Test that cache key depends on all inputs, not just the `.cols` * use new_tibble() instead of as_tibble() (tidyverse#4997) * use new_tibble() instead of as_tibble() * perform name repair in across_setup() * internally use vctrs::vec_recycle() on across() results * use vctrs::vec_recycle_common() * + tests for across() tidy recycling behaviour * from @DavisVaughan review Co-authored-by: DavisVaughan <[email protected]>
- Loading branch information
1 parent
a0390fd
commit 3e3850b
Showing
4 changed files
with
120 additions
and
54 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
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
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
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