dplyr 1.0.0 is now available from CRAN!
Learn about two last-minute additions to dplyr 1.0.0: a chattier summarise() with more options for controlling grouping of output, and new row manipulation functions inspired by SQL
dplyr 1.0.0 is scheduled for release on May 15. This blog post talks about what package maintainers can do to prepare
dplyr now makes heavy use of vctrs behind the scenes. This brings with it greater consistency and (hopefully!) more useful error messages
rowwise() has been renewed and revamped to make it easier to perform operations row-by-row. This makes it much easier to solve problems that previously required lapply(), map(), or friends
A new across() function makes it much easier to apply the same operation to multiple columns. It supersedes the _if(), _at(), and _all() function variants
select() and rename() can now select by position, name, function of name, type, and any combination thereof. A new relocate() function makes it easy to change the position of columns
In summarise(), a single summary expression can now create both multiple rows and multiple columns. This significantly increases its power and flexibility
This post focusses on the idea of the “function lifecycle” which helps you understand where functions in dplyr are going. Particularly important is the idea of a “superseded” function. A superseded function is not going away, but we no longer recommend using it in new code
Try adjusting your filters or search query.