tidyr
Tools for creating tidy data in R
tidyr replaced separate() with a family that says what it does.
◆Recent moves
- 7mo ago
fill() gains .by; expand_grid() gains .vary
fill() gains .by for inline grouping and expand_grid() gains .vary to control which column varies fastest. Several error messages improve and unite() now returns an empty-string column instead of erroring on an empty selection.
View source ↗ - 2y ago
pivot_wider duplicate message uses modern syntax
A single change modernising the syntax in pivot_wider's duplicate-detection helper message. Cosmetic.
View source ↗ - 3y ago
separate_wider_* family supersedes separate() and extract()
Introduces the separate_wider_* and separate_longer_* family, superseding separate(), extract() and separate_rows() with faster, more consistent functions and a defined approach to malformed input. nest() gains .by, and pivot_longer() gains cols_vary.
View source ↗ - 3y ago
Hot patch for R CMD check failures
A hot patch for R CMD check failures, with no other content.
View source ↗ - 4y ago
pivot_wider() gains names_expand, id_expand and unused_fn
pivot_wider() gains names_expand and id_expand for making implicit missing combinations explicit, names_vary for column ordering, and unused_fn for summarising columns left out of the pivot. Note the stored body is cut at 8000 characters, so later items in this changelog are not visible here.
View source ↗ - 4y ago
Large speedups to unchop(), unnest() and expand_grid()
Performance work with wide reach: unchop() gets much faster and that propagates through unnest(), unnest_longer(), unnest_wider() and separate_rows(), while expand_grid() roughly doubles in speed. Mixing vectors and data frames in an unnested list-column now errors.
View source ↗