https://github.com/hadley/dplyr

sort by:
Revision Author Date Message Commit Date
39ee11b Preserve drop attr 24 February 2020, 09:58:26 UTC
d5d1010 Might be zero grouping cols if hand made 24 February 2020, 09:58:26 UTC
55757ad Test and fix implementation bugs 24 February 2020, 09:58:26 UTC
dbb1d08 First stab at it 24 February 2020, 09:58:26 UTC
e946c6f 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 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 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 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 Minor relocate() simplification (since we're now computing min/max earlier) 23 February 2020, 16:12:48 UTC
e57c299 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 Add missing news bullet 23 February 2020, 15:51:07 UTC
60c42a6 Create group by vignette (#4829) Fixes #4779 23 February 2020, 15:49:07 UTC
bd1a353 Inside `dplyr:::tbl_if_vars()`, use `pull()` instead of base column indexing (#4879) Fixes #4803 23 February 2020, 15:47:43 UTC
c452303 Prevent relocate from losing non-contiguous variables Fixes #4841 23 February 2020, 15:43:50 UTC
58ec768 Avoid `c()` calls when only `x` rows are required (#4881) 23 February 2020, 15:36:20 UTC
723e7ab Polish output descriptions Fixes #4822 23 February 2020, 15:28:06 UTC
83b14a5 More efficient replacement of `NULL` with `NA_integer` in `join_rows()` (#4880) 23 February 2020, 15:21:43 UTC
c6522a1 Remove implicit NA warning Since it doesn't seem important/useful. Fixes #4878 22 February 2020, 23:21:53 UTC
f192a97 Flag recode() as questioning Fixes #4851 22 February 2020, 23:20:49 UTC
291ae6c WS 22 February 2020, 23:14:53 UTC
d535dcd Add missing words Fixes #4859 22 February 2020, 23:14:15 UTC
9f967d9 Default slice helpers to use n = 1 Fixes #4824 22 February 2020, 23:13:21 UTC
177bf92 Prevent slice_min/max from crashing when there are NA's (#4857) Fixes #4826 22 February 2020, 23:04:08 UTC
fddda09 Switch to starwars dataset in intro From @JaneWall 22 February 2020, 22:56:02 UTC
666617f New vignette: dplyr <-> base R (#4825) Fixes #4755 22 February 2020, 20:37:54 UTC
3905383 Add arrange() examples of tidy eval and across() (#4830) Fixes #4792 20 February 2020, 23:18:14 UTC
da3f817 Expanded join help for multiple variables (#4870) 20 February 2020, 03:16:41 UTC
b30c2a4 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 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 Faster internal group_keys implementation (#4854) 12 February 2020, 12:54:11 UTC
8e0b4f5 document() after #4833 merge 12 February 2020, 12:31:06 UTC
5f599a0 Refresh `bind()` docs (#4833) Fixes #4794 10 February 2020, 20:29:26 UTC
481268c Fix oversight in example text (#4832) 10 February 2020, 20:12:56 UTC
29a6179 Additional rowwise() magic within the same mutate() call. (#4846) closes #4845 10 February 2020, 12:13:59 UTC
31a25d5 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 Remove redundant length check 06 February 2020, 13:08:30 UTC
92a3fbb typo - correct package name (#4838) 06 February 2020, 11:42:51 UTC
740394d Only one defineVar for current_group (#4836) 05 February 2020, 12:53:14 UTC
d397925 Remove warning about unused n_i (#4835) 05 February 2020, 09:32:02 UTC
e35a143 Refresh `select()` docs (#4823) Fixes #4793 31 January 2020, 23:41:01 UTC
a013cb3 re-organized and deleted some sections. (#4821) Fixes #4777 31 January 2020, 23:28:32 UTC
379bdc2 update examples to use starwars data, re-factor examples for clarity (#4827) Fixes #4788 31 January 2020, 23:19:38 UTC
9498e58 Updates documentation to filter() (#4820) Fixes #4791 31 January 2020, 23:16:38 UTC
c885ecd Proofread and update documentation for *_join functions (#4816) Fixes #4787 31 January 2020, 22:42:43 UTC
5c53fc9 Update lead + lag documentation (#4818) Fixes #4798 31 January 2020, 22:26:14 UTC
b6d142c Refresh distinct docs (#4815) * Refresh distinct docs (#4796) * Add distinct(across()) example using starwars data 31 January 2020, 20:55:11 UTC
420cd31 update computational backend links (#4817) Fixes #4776 31 January 2020, 20:42:50 UTC
0103ee3 Proofread programming vignette (#4819) Fixes #4778 31 January 2020, 20:38:09 UTC
a992884 Depend on CRAN versions 31 January 2020, 18:51:57 UTC
411cd54 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 Unpack tibbles in bind_cols() Fixes #4804 25 January 2020, 14:18:25 UTC
dbb5acc Restore list-binding behaviour Fixes #4697 24 January 2020, 23:27:47 UTC
7a832ba Correct binds test file name 24 January 2020, 23:27:24 UTC
42e203a Carefully simplify bind implementations Preserving existing behaviour as much as possible. 24 January 2020, 23:27:01 UTC
6d2d546 Weaken list_of() tests so they pass with dev vctrs 23 January 2020, 21:36:16 UTC
bdb40b8 Re-document 23 January 2020, 18:21:12 UTC
273d8f8 Polishing news 23 January 2020, 15:17:27 UTC
13e4bae Divide news into groups 23 January 2020, 15:07:47 UTC
baf1168 Control position of new mutate() columns (#4774) Fixes #2047 23 January 2020, 14:55:42 UTC
0338796 Test 0-row group case 22 January 2020, 20:58:48 UTC
6d916ed Continue to refactor summarise() tests 22 January 2020, 20:55:52 UTC
4805d46 More re-org and tweaking 22 January 2020, 20:37:14 UTC
34baa87 Roughly group summarise tests 22 January 2020, 20:16:39 UTC
6bb8d89 Remove summarise tests I've removed tests that seem specifically related to hybrid eval or vctrs 22 January 2020, 20:12:28 UTC
7470ed0 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 Redocument 22 January 2020, 15:24:48 UTC
abe8b84 Skip failing test for now 22 January 2020, 15:22:22 UTC
1b82854 Simplify glue_c() 22 January 2020, 15:19:48 UTC
6f05ed2 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 test arrange() support for across() (#4786) closes #4679 21 January 2020, 14:26:49 UTC
e0daacc 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 Fix a typo (#4785) 21 January 2020, 08:51:32 UTC
ad0e038 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 Rename dplyr_tidy_eval to dplyr_data_masking 20 January 2020, 13:16:24 UTC
df25ee9 Implement keep = T in left_join(), right_join() (#4762) 20 January 2020, 13:06:35 UTC
1614550 Remove out dated article 20 January 2020, 12:52:40 UTC
4033be3 Simplify filter C code By using context functions in R 19 January 2020, 15:47:12 UTC
7d02465 Simplify filter() C implementation Since regrouping is now handled similarly across all row slicing verbs 19 January 2020, 15:37:40 UTC
d1c88bc 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 New programming with dplyr vignette (#4724) Fixes #4407 18 January 2020, 16:23:21 UTC
c15eefa Work around buglet in rlang 18 January 2020, 16:09:31 UTC
9508c7b Fix defusal of tidyselect arguments cc @hadley 18 January 2020, 11:50:31 UTC
33d9fb4 Implement relocate Fixes #4598 17 January 2020, 21:26:28 UTC
f37197c Redocument 17 January 2020, 21:23:59 UTC
205386c Move DataMask to data-mask.R 17 January 2020, 20:17:33 UTC
bb38491 Mark scoped helpers as superseded (#4769) 17 January 2020, 15:52:45 UTC
dd260ba Improve mutate()/summarise() multi-row/multi-col docs Fixes #4721 17 January 2020, 15:32:25 UTC
0170d18 Emphasise that rowwise(...) is different to group_by(...) Fixes #4768 17 January 2020, 14:36:18 UTC
3e8e17d mutate() doc tweaks 17 January 2020, 14:35:04 UTC
5f4c45a Tweak reference index for condense/rowwise 17 January 2020, 14:26:11 UTC
4cc84d4 Use lowercase rd for pkgdown compatibility 17 January 2020, 14:13:59 UTC
2b25da1 with_groups is experimental 17 January 2020, 13:28:38 UTC
bb1c69c Explain experimental/questioning/superseded 17 January 2020, 13:24:24 UTC
bc80294 WS 17 January 2020, 13:08:53 UTC
1aca4c7 Consistently place badge at top of description And remove some extraneous whitespace 17 January 2020, 13:04:50 UTC
ea7f5e9 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 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 News tweaking 16 January 2020, 11:46:21 UTC
b7c5e04 Document slice helpers with slice 16 January 2020, 11:46:21 UTC
ccb5256 Improve section names 16 January 2020, 11:46:21 UTC
back to top