dplyr 1.0.1
-
New function
cur_data_all()
similar tocur_data()
but includes the grouping variables (#5342). -
count()
andtally()
no longer automatically weights by columnn
if
present (#5298). dplyr 1.0.0 introduced this behaviour because of Hadley's
faulty memory. Historicallytally()
automatically weighted andcount()
did not, but this behaviour was accidentally changed in 0.8.2 (#4408) so that
neither automatically weighted byn
. Since 0.8.2 is almost a year old,
and the automatically weighting behaviour was a little confusing anyway,
we've removed it from bothcount()
andtally()
.Use of
wt = n()
is now deprecated; now just omit thewt
argument. -
coalesce()
now supports data frames correctly (#5326). -
cummean()
no longer has off-by-one indexing problem (@Cropgen, #5287). -
The call stack is preserved on error. This makes it possible to
recover()
into problematic code called from dplyr verbs (#5308).