tidypolars 0.4.0
tidypolars
requires polars
>= 0.11.0.
Breaking changes
- It is no longer possible to pass a list in
rename()
.
New features
-
The argument
with_string_cache
inas_polars()
now enables the string cache
globally if set toTRUE
(#54). -
Better error message in
filter()
when comparing factors to strings while the
string cache is disabled. -
Basic support for
strptime()
. It is possible to usestrptime(*, strict = FALSE)
to not error when the parsing of some characters fails. -
New argument
.by
infilter()
,mutate()
, andsummarize()
, and new
argumentby
in theslice_*()
functions. This allows to do operations on
groups without usinggroup_by()
andungroup()
. See the
dplyr
vignette for
more information (#59). -
rename()
now accepts unquoted names both old and new names. -
Support fixed regexes in
str_detect()
(usingfixed()
) and ingrepl()
(usingfixed = TRUE
).
Bug fixes
-
Improve robustness of sequential expressions in
mutate()
andsummarize()
(i.e expressions that should be run one after the other because they depend on
variables created in the same call) (#58). -
relocate()
now works correctly when.after = last_col()
. -
All functions that work on grouped data now correctly restore the groups
structure (#62).
Misc
-
Error messages coming from
mutate()
,summarize()
, andfilter()
now give
the right function call. -
Faster tidy selection (#61).