Max Kuhn is now the maintainer (#49).
Re-licensed package from GPL-2 to MIT. All copyright holders are RStudio employees and give consent.
Fixed a bug with how
threshold_perf()now has an explicit
event_levelargument rather than respecting the now deprecated
yardstick.event_firstglobal option (#45).
Bumped the minimum required R version to >=3.4.0 to align with the rest of the tidyverse.
Updated to testthat 3e (#44).
CRAN release: 2020-06-05
class_predobjects are now comparable and will be ordered by their levels. Equivocal values are generally considered to be the smallest value when ordering.
NAvalues can be considered smaller if
vec_order(na_value = "smallest")is used.
CRAN release: 2020-01-13
Suggest the modeldata package, which is where the
lending_clubdataset has been moved after being removed from recipes.
testthat::verify_output()on a test expecting a specific vctrs error to avoid failure on CRAN if that error changes in the future.
CRAN release: 2019-07-07
probably has been brought up to date with vctrs 0.2.0. This vctrs update had many function name changes, and required internal refactoring, but there should be minimal external changes.
The one user facing change comes with casting from one
class_predobject to another
class_pred, or to a
factor. Where previously a warning would be thrown if
xhad levels that did not exist in
to, an error is now generated. This is consistent with the vctrs behavior when converting from one factor to another.
x <- class_pred(factor("a")) to <- class_pred(factor("to")) vec_cast(x, to) #> Error: Lossy cast from <class_pred> to <class_pred>. #> Locations: 1
CRAN release: 2019-03-07
A failing test relying on the R 3.6 change to
sample()has been corrected.
An rlang warning in
threshold_perf()has been fixed.
A small R 3.1 issue with vctrs has been fixed.