Skip to content

Releases: rossellhayes/crossmap

Version 0.4.0

12 Jan 23:27
45648a6
Compare
Choose a tag to compare
  • Add 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")).
  • Deprecate xmap_raw() and future_xmap_raw() functions.
    • purrr::map_raw() and other *_raw() functions are deprecated in purrr 1.0.0.

Version 0.3.3

12 Aug 17:35
Compare
Choose a tag to compare
  • Update roxygen version to avoid CRAN NOTE.
  • Remove broomExtra from suggested packages, because it was archived on CRAN.

Version 0.3.2

12 Aug 17:39
Compare
Choose a tag to compare

New features

  • The map_vec() family of functions gain a .class argument, which coerces each element of the output to the given class.

Enhancements

  • The 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.

Version 0.3.1

12 Aug 17:43
Compare
Choose a tag to compare

New features

  • 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).

Enhancements

  • tidy_glance() (and functions that call it) now use broomExtra instead of broom to support more model types.
  • Functions now use rlang::check_installed() for suggested packages, giving the user the option to install the package interactively.

Miscellaneous

  • Use cli to generate error messages.
  • Move stats from suggested to imported packages.

Version 0.3.0

03 Apr 17:28
Compare
Choose a tag to compare

New features

  • 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().

Patches

  • 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.

Miscellaneous

  • Promoted broom and dplyr from suggested to imported packages.

Version 0.2.0

24 Sep 20:29
Compare
Choose a tag to compare

New features

  • Added weights argument to cross_fit().
    • You can now cross model specifications in three dimensions: formulas, subsets, and weights.
    • Weights are specified as a list of column names, or NULL or NA for an unweighted model.

Miscellaneous

  • Added tibble as a suggested package.
  • Added a NEWS.md file to track changes to the package.
  • Added a URL to pkgdown YAML.

Version 0.1.0

10 Sep 20:27
Compare
Choose a tag to compare
  • Initial CRAN release