xpluck()
function.
xpluck()
works like purrr::pluck()
, but
allows you to specify multiple indices at each step,
e.g. xpluck(x, 1:2, c("a", "b"))
.xmap_raw()
and future_xmap_raw()
functions.
purrr::map_raw()
and other *_raw()
functions are deprecated in purrr 1.0.0.broomExtra
from suggested packages, because it
was archived on CRAN.map_vec()
family of functions gain a
.class
argument, which coerces each element of the output
to the given class.map_vec()
family of functions can now return
vectors with S3 classes in addition to base classes.tidy_glance()
(and functions that call it) now use
generics
instead of broomExtra
.
broom
and broomExtra
are now Suggested
packages.cross_fit()
gains the argument clusters
,
allowing mapping along cluster specifications for functions that support
it, like estimatr::lm_robust()
.cross_fit_robust()
is a wrapper for
cross_fit(fn = estimatr::lm_robust)
.tidy_glance()
(and functions that call it) now use
broomExtra
instead of broom
to support more
model types.rlang::check_installed()
for
suggested packages, giving the user the option to install the package
interactively.cli
to generate error messages.stats
from suggested to imported packages.Added cross_fit_glm()
, which works like
cross_fit()
but allows you to also specify a crossing of
glm()
model families.
Added tidy_glance()
, which returns a tibble with
information from both broom::tidy()
and
broom::glance()
.
tidy_glance()
is now the default tidier in
cross_fit()
.Added future_xmap_raw()
and
future_xwalk()
.
cross_join()
, cross_list()
,
cross_tbl()
and cross_df()
now silently ignore
NULL
inputs.future_*()
functions now prompt the user to select a
future
plan if R is not set up for parallelization.broom
and dplyr
from suggested to
imported packages.weights
argument to cross_fit()
.
NULL
or NA
for an unweighted model.tibble
as a suggested package.NEWS.md
file to track changes to the
package.pkgdown
YAML.