tidypolars 0.5.0
tidypolars
requires polars
>= 0.12.0.
Breaking changes
-
across()
now errors if the argument.cols
is not provided (either named or
unnamed). This behavior was deprecated indplyr
1.1.0. -
It is no longer possible to use
!
inarrange()
to sort by decreasing order,
for compatibility withdplyr::arrange()
. Use-
ordesc()
instead.
New features
-
summarize()
now works on ungrouped data and returns a 1-row output. -
It is now possible to use
desc(x1)
inarrange()
to sort in decreasing
order ofx1
(this is equivalent to-x1
). -
Add support for argument
names_prefix
inpivot_longer()
. -
Add support for arguments
names_prefix
andnames_sep
inpivot_wider()
. -
Add support for
tidyr::uncount()
. -
All
*_join()
functions now work whenby
is a specification created by
dplyr::join_by()
. Notice that this is limited to equality joins for now. -
You can now use the "embrace" operator
{{ }}
to pass unquoted column names
(among other things) as arguments of custom functions. See the "Programming
with dplyr" vignette
for some examples. -
bind_cols_polars()
now works with twoLazyFrame
s, but not more. -
Add support for argument
.name_repair
inbind_cols_polars()
(#74). -
Support for
.env$
and.data$
pronouns in expressions offilter()
,
mutate()
andsummarize()
. -
Support named vector in the argument
pattern
ofstr_replace_all()
, where
names are patterns and values are replacements. -
Using
%in%
for factor variables doesn't require enabling the string cache
anymore.
Bug fixes
-
summarize()
no longer errors whenacross(everything(), ...)
is used with
.by
. -
All
*_join()
functions no longer error when a named vector is provided in
the argumentby
. -
Expressions with values only are not named "literal" anymore.
Misc
- Simplify the procedure to support new functions.