39ee11b | Hadley Wickham | 23 January 2020, 16:18:08 UTC | Preserve drop attr | 24 February 2020, 09:58:26 UTC |
d5d1010 | Hadley Wickham | 23 January 2020, 16:13:43 UTC | Might be zero grouping cols if hand made | 24 February 2020, 09:58:26 UTC |
55757ad | Hadley Wickham | 23 January 2020, 16:11:09 UTC | Test and fix implementation bugs | 24 February 2020, 09:58:26 UTC |
dbb1d08 | Hadley Wickham | 22 January 2020, 20:01:02 UTC | First stab at it | 24 February 2020, 09:58:26 UTC |
e946c6f | Romain François | 24 February 2020, 08:46:32 UTC | setup continuous benchmarks (#4862) * initial bench-mutate.R file for continuous benchmarks * borrow continuous benchmark workflow from https://github.com/r-lib/bench/blob/master/.github/workflows/continuous-benchmarks.yaml * using dev bench * document() out bench_*() functions * initial bench-summarise.R * initial bench-group-by.R * + bench-arrange.R * + bench-distinct.R * bench-group_by * + bench for mutate joins * + simple bench-filter.R | 24 February 2020, 08:46:32 UTC |
e5ca96d | Romain François | 24 February 2020, 08:25:13 UTC | mutate() performance improvements (#4858) * 🧞https://github.com/tidyverse/tibble/pull/717 * prototype vec_sprinkle() * require fallback for more types * handle names when sprinkling * need to vec_cast() all the chunks to common type * make all sprinkle steps internal with short_vec_init() and vec_cast() callables * internal recycling by repeatedly calling vec_assign_impl() with the sprinkling * rows_i_j needs PROTECT() * swing back to master tibble * globalVariables(o_rows) because it is defined lazily * rename to vec_unchop() and move arguments around * Apply suggestions from code review Co-Authored-By: Lionel Henry <lionel.hry@gmail.com> * Apply suggestions from code review Co-Authored-By: Lionel Henry <lionel.hry@gmail.com> * PROTECT(Rf_getAttrib()) * skip again for a different reason * intercept mutate() recycling problems earlier * using vctrs::vec_unchop() * using the callable vctrs::short_vec_recycle() so that chunks are recycled to fit * No need to hang on to rows_lengths * - simplify DataMask constructor - provide DataMask$get_rows() * Move size handling until after all the expressions. use vec_unchop() then * recycling and then call vec_c() instead of using vec_unchop() * use master vctrs * vec_assign_impl() no longer used * shirt_vec_init() no longer used * vec_cast() not used intrenally Co-authored-by: Lionel Henry <lionel.hry@gmail.com> | 24 February 2020, 08:25:13 UTC |
f9ade32 | Romain François | 24 February 2020, 08:22:38 UTC | tweaks to arrange() errors (#4807) * tweaks to arrange() errors * Update R/conditions.R Co-Authored-By: Hadley Wickham <h.wickham@gmail.com> * update error after previous reveiw commit Co-authored-by: Hadley Wickham <h.wickham@gmail.com> | 24 February 2020, 08:22:38 UTC |
de87e53 | Davis Vaughan | 23 February 2020, 17:56:37 UTC | Use `new_data_frame()` to avoid materializing row names (#4882) * Use `new_data_frame()` in `dplyr_reconstruct()` to avoid materializing row names * Simplify using `class()` | 23 February 2020, 17:56:37 UTC |
3fd8a78 | Hadley Wickham | 23 February 2020, 16:12:48 UTC | Minor relocate() simplification (since we're now computing min/max earlier) | 23 February 2020, 16:12:48 UTC |
e57c299 | Hadley Wickham | 23 February 2020, 15:55:32 UTC | Remove coercion rules section from two-table vignette And add a note in a news bullet to remind me to write note in the blog post. Fixes #4765 | 23 February 2020, 15:55:32 UTC |
7b12a14 | Hadley Wickham | 23 February 2020, 15:51:07 UTC | Add missing news bullet | 23 February 2020, 15:51:07 UTC |
60c42a6 | Mike K Smith | 23 February 2020, 15:49:07 UTC | Create group by vignette (#4829) Fixes #4779 | 23 February 2020, 15:49:07 UTC |
bd1a353 | Ben Schneider | 23 February 2020, 15:47:43 UTC | Inside `dplyr:::tbl_if_vars()`, use `pull()` instead of base column indexing (#4879) Fixes #4803 | 23 February 2020, 15:47:43 UTC |
c452303 | Hadley Wickham | 23 February 2020, 15:41:13 UTC | Prevent relocate from losing non-contiguous variables Fixes #4841 | 23 February 2020, 15:43:50 UTC |
58ec768 | Davis Vaughan | 23 February 2020, 15:36:20 UTC | Avoid `c()` calls when only `x` rows are required (#4881) | 23 February 2020, 15:36:20 UTC |
723e7ab | Hadley Wickham | 23 February 2020, 15:27:49 UTC | Polish output descriptions Fixes #4822 | 23 February 2020, 15:28:06 UTC |
83b14a5 | Davis Vaughan | 23 February 2020, 15:21:43 UTC | More efficient replacement of `NULL` with `NA_integer` in `join_rows()` (#4880) | 23 February 2020, 15:21:43 UTC |
c6522a1 | Hadley Wickham | 22 February 2020, 23:21:53 UTC | Remove implicit NA warning Since it doesn't seem important/useful. Fixes #4878 | 22 February 2020, 23:21:53 UTC |
f192a97 | Hadley Wickham | 22 February 2020, 23:20:49 UTC | Flag recode() as questioning Fixes #4851 | 22 February 2020, 23:20:49 UTC |
291ae6c | Hadley Wickham | 22 February 2020, 23:14:53 UTC | WS | 22 February 2020, 23:14:53 UTC |
d535dcd | Hadley Wickham | 22 February 2020, 23:14:15 UTC | Add missing words Fixes #4859 | 22 February 2020, 23:14:15 UTC |
9f967d9 | Hadley Wickham | 22 February 2020, 23:13:21 UTC | Default slice helpers to use n = 1 Fixes #4824 | 22 February 2020, 23:13:21 UTC |
177bf92 | Wim van der Ham | 22 February 2020, 23:04:08 UTC | Prevent slice_min/max from crashing when there are NA's (#4857) Fixes #4826 | 22 February 2020, 23:04:08 UTC |
fddda09 | Hadley Wickham | 22 February 2020, 22:56:02 UTC | Switch to starwars dataset in intro From @JaneWall | 22 February 2020, 22:56:02 UTC |
666617f | Sara Stoudt | 22 February 2020, 20:37:54 UTC | New vignette: dplyr <-> base R (#4825) Fixes #4755 | 22 February 2020, 20:37:54 UTC |
3905383 | Shane Piesik | 20 February 2020, 23:18:14 UTC | Add arrange() examples of tidy eval and across() (#4830) Fixes #4792 | 20 February 2020, 23:18:14 UTC |
da3f817 | Jon Harmon | 20 February 2020, 03:16:41 UTC | Expanded join help for multiple variables (#4870) | 20 February 2020, 03:16:41 UTC |
b30c2a4 | Alexandre Courtiol | 19 February 2020, 07:15:50 UTC | Prevent collapse of data.frame to vector in across (#4867) (#4868) * Prevent collapse of data.frame to vector in across (#4867) | 19 February 2020, 07:15:50 UTC |
62950c1 | Romain François | 18 February 2020, 08:46:47 UTC | join_mutate() using vec_ptype_common() instead of vec_ptype2() (#4863) * Using vec_ptype_common() instead of vec_ptype2(). | 18 February 2020, 08:46:47 UTC |
30363bf | Romain François | 12 February 2020, 12:54:11 UTC | Faster internal group_keys implementation (#4854) | 12 February 2020, 12:54:11 UTC |
8e0b4f5 | Romain Francois | 12 February 2020, 12:31:06 UTC | document() after #4833 merge | 12 February 2020, 12:31:06 UTC |
5f599a0 | Eric Stern | 10 February 2020, 20:29:26 UTC | Refresh `bind()` docs (#4833) Fixes #4794 | 10 February 2020, 20:29:26 UTC |
481268c | Anthony Damico | 10 February 2020, 20:12:56 UTC | Fix oversight in example text (#4832) | 10 February 2020, 20:12:56 UTC |
29a6179 | Romain François | 10 February 2020, 12:13:59 UTC | Additional rowwise() magic within the same mutate() call. (#4846) closes #4845 | 10 February 2020, 12:13:59 UTC |
31a25d5 | Romain François | 10 February 2020, 09:42:00 UTC | Using promises instead of active bindings (#4812) * try new approach, each active binding only triggered at most once * usage is always tracked * If we are to use the active bindings only once, we might as well use promises. needs https://github.com/r-lib/rlang/pull/910 * Keep track of which promises have been used, hence which slices should be resolved before DPLYR_MASK_EVAL() is called. * using vctrs::vec_chop() * use https://github.com/r-lib/rlang/pull/910 * fixes * https://github.com/r-lib/rlang/pull/910 was merged * pin rlang to https://github.com/r-lib/rlang/pull/910 for now until the ``` `repair` must be a character vector of length 1. ``` thing is resolved * dev rlang is fine now | 10 February 2020, 09:42:00 UTC |
a238009 | Lionel Henry | 06 February 2020, 13:08:30 UTC | Remove redundant length check | 06 February 2020, 13:08:30 UTC |
92a3fbb | Christophe Dervieux | 06 February 2020, 11:42:51 UTC | typo - correct package name (#4838) | 06 February 2020, 11:42:51 UTC |
740394d | Romain François | 05 February 2020, 12:53:14 UTC | Only one defineVar for current_group (#4836) | 05 February 2020, 12:53:14 UTC |
d397925 | Romain François | 05 February 2020, 09:32:02 UTC | Remove warning about unused n_i (#4835) | 05 February 2020, 09:32:02 UTC |
e35a143 | Danielle Quinn | 31 January 2020, 23:41:01 UTC | Refresh `select()` docs (#4823) Fixes #4793 | 31 January 2020, 23:41:01 UTC |
a013cb3 | Jane Wall | 31 January 2020, 23:28:32 UTC | re-organized and deleted some sections. (#4821) Fixes #4777 | 31 January 2020, 23:28:32 UTC |
379bdc2 | chayajones | 31 January 2020, 23:19:38 UTC | update examples to use starwars data, re-factor examples for clarity (#4827) Fixes #4788 | 31 January 2020, 23:19:38 UTC |
9498e58 | Danielle Navarro | 31 January 2020, 23:16:38 UTC | Updates documentation to filter() (#4820) Fixes #4791 | 31 January 2020, 23:16:38 UTC |
c885ecd | Adam Davis | 31 January 2020, 22:42:43 UTC | Proofread and update documentation for *_join functions (#4816) Fixes #4787 | 31 January 2020, 22:42:43 UTC |
5c53fc9 | Laura Wiley | 31 January 2020, 22:26:14 UTC | Update lead + lag documentation (#4818) Fixes #4798 | 31 January 2020, 22:26:14 UTC |
b6d142c | Rebecca Janis | 31 January 2020, 20:55:11 UTC | Refresh distinct docs (#4815) * Refresh distinct docs (#4796) * Add distinct(across()) example using starwars data | 31 January 2020, 20:55:11 UTC |
420cd31 | Danielle Smalls | 31 January 2020, 20:42:50 UTC | update computational backend links (#4817) Fixes #4776 | 31 January 2020, 20:42:50 UTC |
0103ee3 | Jen Ren | 31 January 2020, 20:38:09 UTC | Proofread programming vignette (#4819) Fixes #4778 | 31 January 2020, 20:38:09 UTC |
a992884 | Lionel Henry | 31 January 2020, 18:51:57 UTC | Depend on CRAN versions | 31 January 2020, 18:51:57 UTC |
411cd54 | Romain François | 28 January 2020, 14:11:49 UTC | For ungrouped data frames, chunks are always the whole column, we can short circuit vec_slice() but we have to keep the active binding for track_usage (#4809) | 28 January 2020, 14:11:49 UTC |
46820b6 | Hadley Wickham | 25 January 2020, 14:18:25 UTC | Unpack tibbles in bind_cols() Fixes #4804 | 25 January 2020, 14:18:25 UTC |
dbb5acc | Hadley Wickham | 24 January 2020, 23:23:43 UTC | Restore list-binding behaviour Fixes #4697 | 24 January 2020, 23:27:47 UTC |
7a832ba | Hadley Wickham | 24 January 2020, 22:00:40 UTC | Correct binds test file name | 24 January 2020, 23:27:24 UTC |
42e203a | Hadley Wickham | 24 January 2020, 22:42:28 UTC | Carefully simplify bind implementations Preserving existing behaviour as much as possible. | 24 January 2020, 23:27:01 UTC |
6d2d546 | Hadley Wickham | 23 January 2020, 21:36:16 UTC | Weaken list_of() tests so they pass with dev vctrs | 23 January 2020, 21:36:16 UTC |
bdb40b8 | Hadley Wickham | 23 January 2020, 18:21:12 UTC | Re-document | 23 January 2020, 18:21:12 UTC |
273d8f8 | Hadley Wickham | 23 January 2020, 15:17:27 UTC | Polishing news | 23 January 2020, 15:17:27 UTC |
13e4bae | Hadley Wickham | 23 January 2020, 15:07:47 UTC | Divide news into groups | 23 January 2020, 15:07:47 UTC |
baf1168 | Hadley Wickham | 23 January 2020, 14:55:42 UTC | Control position of new mutate() columns (#4774) Fixes #2047 | 23 January 2020, 14:55:42 UTC |
0338796 | Hadley Wickham | 22 January 2020, 20:58:48 UTC | Test 0-row group case | 22 January 2020, 20:58:48 UTC |
6d916ed | Hadley Wickham | 22 January 2020, 20:55:52 UTC | Continue to refactor summarise() tests | 22 January 2020, 20:55:52 UTC |
4805d46 | Hadley Wickham | 22 January 2020, 20:37:14 UTC | More re-org and tweaking | 22 January 2020, 20:37:14 UTC |
34baa87 | Hadley Wickham | 22 January 2020, 20:16:39 UTC | Roughly group summarise tests | 22 January 2020, 20:16:39 UTC |
6bb8d89 | Hadley Wickham | 22 January 2020, 20:09:24 UTC | Remove summarise tests I've removed tests that seem specifically related to hybrid eval or vctrs | 22 January 2020, 20:12:28 UTC |
7470ed0 | Hadley Wickham | 22 January 2020, 15:58:02 UTC | Give more control over which variables mutate() should keep (#4773) Adds new .keep argument with options "none", "used", "unused", and "all". Fixes #3721 | 22 January 2020, 15:58:02 UTC |
08784ae | Hadley Wickham | 22 January 2020, 15:24:48 UTC | Redocument | 22 January 2020, 15:24:48 UTC |
abe8b84 | Hadley Wickham | 22 January 2020, 15:22:22 UTC | Skip failing test for now | 22 January 2020, 15:22:22 UTC |
1b82854 | Hadley Wickham | 22 January 2020, 15:19:48 UTC | Simplify glue_c() | 22 January 2020, 15:19:48 UTC |
6f05ed2 | Romain François | 21 January 2020, 21:07:14 UTC | Add names= argument to across() (#4782) * + across(names=) closes #4781 * use names= as argument of across(), not summarise() * missing `)` in examples * initial doc for across(names=) * Update R/across.R Co-Authored-By: Hadley Wickham <h.wickham@gmail.com> * Update R/across.R Co-Authored-By: Hadley Wickham <h.wickham@gmail.com> * using expect_named() for across tests. simplify implementation of across() so that all goes through the same code. * update doc for return of across() * using %||% * Simplify across() impl and tests. Co-authored-by: Hadley Wickham <h.wickham@gmail.com> | 21 January 2020, 21:07:14 UTC |
9358fc5 | Romain François | 21 January 2020, 14:26:49 UTC | test arrange() support for across() (#4786) closes #4679 | 21 January 2020, 14:26:49 UTC |
e0daacc | Romain François | 21 January 2020, 14:23:49 UTC | row wise specific error bullets (#4783) * Fix stop_filter_incompatible_size() display. * Add hint to enlist in mutate incompatible size exception * Hint to enlist with summarise(<rowwise>) on unsupported type error * refactoring into cnd_bullet_rowwise_unlist() * Using friendly_type_of() instead of direct as_friezndly_type() * errors changed in newest tidyselect | 21 January 2020, 14:23:49 UTC |
aea647e | Hiroaki Yutani | 21 January 2020, 08:51:32 UTC | Fix a typo (#4785) | 21 January 2020, 08:51:32 UTC |
ad0e038 | Romain François | 20 January 2020, 16:56:57 UTC | Detailed information about the keys of a group on error (#4746) * Rework stop_eval_tidy() to be able to also use it with summarise() and other functions * custom errors for incompatible sizes * Also promote vctrs_error so that they have more context * custom handling of the error produced by vec_c(!!!chunks) * ..{index} is, and headeing for mixed types * no backticks around typeof() result * rm the redundant `= NULL` test * use name instead of ..{index} when possible * Another ..{index} is * An earlier column had size * Applying comments from @hadley review * move the tryCatch() around the for() loop * Added "or 1" since summarise() now supports tidy recycling * Detailed information about the keys of a group on error * Need repeating "i" * update error output * update bullets * squish group info into a single bullet * stress error group info with dates and lists * Give up some tests because of this problem https://github.com/r-lib/testthat/issues/978 * Apply group_info() to other errors * using cur_group_id() and cur_group() * Simplify group_info() * inline tibble:::format_v * + cur_group_label() internal generic to generate the label for the current group * Not reporting group information on combine errors from vec_c() * Correctly report faulty group in summarise() recycling problem * Detail difference of vctr types for each group * set_error_context(), cnd_problem() and cnd_bullet_current_expression() * Refactor into stop_dplyr() * quote expression * report correct faulty group in mutate() on recycling problems. * mention result name * Simplify glue_c() * move cur_group_label() to context.R * Simplify stop_mutate_recycle_incompatible_size() * Species = "setosa" * + tests showing fix for "1 or 1" situation | 20 January 2020, 16:56:57 UTC |
685eebd | Hadley Wickham | 20 January 2020, 13:16:13 UTC | Rename dplyr_tidy_eval to dplyr_data_masking | 20 January 2020, 13:16:24 UTC |
df25ee9 | Ian Cook | 20 January 2020, 13:06:35 UTC | Implement keep = T in left_join(), right_join() (#4762) | 20 January 2020, 13:06:35 UTC |
1614550 | Hadley Wickham | 20 January 2020, 12:52:40 UTC | Remove out dated article | 20 January 2020, 12:52:40 UTC |
4033be3 | Hadley Wickham | 19 January 2020, 15:43:47 UTC | Simplify filter C code By using context functions in R | 19 January 2020, 15:47:12 UTC |
7d02465 | Hadley Wickham | 19 January 2020, 15:37:40 UTC | Simplify filter() C implementation Since regrouping is now handled similarly across all row slicing verbs | 19 January 2020, 15:37:40 UTC |
d1c88bc | Hadley Wickham | 19 January 2020, 15:25:37 UTC | Improvements to contextual functions (#4772) * New `cur_data()` and `cur_group_rows() * Connect contextual functions to data.table pronouns * Access `cur_group_id()` and `n()` through mask instead of context Fixes #4764 | 19 January 2020, 15:25:37 UTC |
afb7130 | Hadley Wickham | 18 January 2020, 16:23:21 UTC | New programming with dplyr vignette (#4724) Fixes #4407 | 18 January 2020, 16:23:21 UTC |
c15eefa | Hadley Wickham | 18 January 2020, 16:09:06 UTC | Work around buglet in rlang | 18 January 2020, 16:09:31 UTC |
9508c7b | Lionel Henry | 18 January 2020, 11:50:31 UTC | Fix defusal of tidyselect arguments cc @hadley | 18 January 2020, 11:50:31 UTC |
33d9fb4 | Hadley Wickham | 17 January 2020, 21:26:28 UTC | Implement relocate Fixes #4598 | 17 January 2020, 21:26:28 UTC |
f37197c | Hadley Wickham | 17 January 2020, 21:23:59 UTC | Redocument | 17 January 2020, 21:23:59 UTC |
205386c | Hadley Wickham | 17 January 2020, 20:17:33 UTC | Move DataMask to data-mask.R | 17 January 2020, 20:17:33 UTC |
bb38491 | Hadley Wickham | 17 January 2020, 15:52:45 UTC | Mark scoped helpers as superseded (#4769) | 17 January 2020, 15:52:45 UTC |
dd260ba | Hadley Wickham | 17 January 2020, 15:32:25 UTC | Improve mutate()/summarise() multi-row/multi-col docs Fixes #4721 | 17 January 2020, 15:32:25 UTC |
0170d18 | Hadley Wickham | 17 January 2020, 14:36:18 UTC | Emphasise that rowwise(...) is different to group_by(...) Fixes #4768 | 17 January 2020, 14:36:18 UTC |
3e8e17d | Hadley Wickham | 17 January 2020, 14:35:04 UTC | mutate() doc tweaks | 17 January 2020, 14:35:04 UTC |
5f4c45a | Hadley Wickham | 17 January 2020, 14:26:11 UTC | Tweak reference index for condense/rowwise | 17 January 2020, 14:26:11 UTC |
4cc84d4 | Hadley Wickham | 17 January 2020, 14:13:59 UTC | Use lowercase rd for pkgdown compatibility | 17 January 2020, 14:13:59 UTC |
2b25da1 | Hadley Wickham | 17 January 2020, 13:28:38 UTC | with_groups is experimental | 17 January 2020, 13:28:38 UTC |
bb1c69c | Hadley Wickham | 17 January 2020, 13:24:24 UTC | Explain experimental/questioning/superseded | 17 January 2020, 13:24:24 UTC |
bc80294 | Hadley Wickham | 17 January 2020, 13:08:53 UTC | WS | 17 January 2020, 13:08:53 UTC |
1aca4c7 | Hadley Wickham | 17 January 2020, 13:04:50 UTC | Consistently place badge at top of description And remove some extraneous whitespace | 17 January 2020, 13:04:50 UTC |
ea7f5e9 | Romain François | 17 January 2020, 12:54:30 UTC | Revised rowwise() + condense() (#4760) * rowwise() comes back to life, optionally preserves variables when summarising, and maintains grouping by row through all verb transformations * condense() is a new form of summarise() that always returns a single row, by wrapping each new variable in a list. * do() is deprecated Fixes #4723 | 17 January 2020, 12:54:30 UTC |
057b453 | Romain François | 16 January 2020, 16:49:20 UTC | Fix cur_group() (#4758) * Fix DataMask$current_key() :grimacing: * + test for cur_group() closes #4750 * test the results of cur_group() directly, i.e. no combining and auto splicing post summarise() | 16 January 2020, 16:49:20 UTC |
2cfdfd9 | Hadley Wickham | 16 January 2020, 11:39:27 UTC | News tweaking | 16 January 2020, 11:46:21 UTC |
b7c5e04 | Hadley Wickham | 15 January 2020, 23:50:00 UTC | Document slice helpers with slice | 16 January 2020, 11:46:21 UTC |
ccb5256 | Hadley Wickham | 15 January 2020, 23:49:19 UTC | Improve section names | 16 January 2020, 11:46:21 UTC |