diff --git a/DESCRIPTION b/DESCRIPTION index a57245c8..31aaeeab 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: rsample Title: General Resampling Infrastructure -Version: 1.1.1.9001 +Version: 1.2.0 Authors@R: c( person("Hannah", "Frick", , "hannah@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6049-5258")), @@ -19,7 +19,7 @@ License: MIT + file LICENSE URL: https://rsample.tidymodels.org, https://github.com/tidymodels/rsample BugReports: https://github.com/tidymodels/rsample/issues Depends: - R (>= 3.4) + R (>= 3.6) Imports: cli, dplyr (>= 1.1.1), diff --git a/NEWS.md b/NEWS.md index 7103ddac..ec78ec68 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,4 @@ -# rsample (development version) - -* `training()`, `testing()`, `analysis()`, and `assessment()` are now S3 generics with methods for `rsplit` objects. Previously they manually required the input to be an `rsplit` object (#384). +# rsample 1.2.0 * The new `initial_validation_split()`, along with variants `initial_validation_time_split()` and `group_initial_validation_split()`, generates a three-way split of the data into training, validation, and test sets. With the new `validation_set()`, this can be turned into an `rset` object for tuning (#403, #446). @@ -10,12 +8,15 @@ * `make_splits()` gained an example in the documentation (@AngelFelizR, #432). -* The `int_*()` functions are now generics and have corresponding methods for class `bootstraps` (#435). +* `training()`, `testing()`, `analysis()`, and `assessment()` are now S3 generics with methods for `rsplit` objects. Previously they manually required the input to be an `rsplit` object (#384). -* The underlying mechanics of data splitting were changed so that `Surv` objects maintain their class. This change affects the row names of the resulting objects; they are reindexed from one instead of being a subset of the original row names. (#443) +* The `int_*()` functions are now S3 generics and have corresponding methods for class `bootstraps` (#435). + +* The underlying mechanics of data splitting were changed so that `Surv` objects maintain their class. This change affects the row names of the resulting objects; they are reindexed from one instead of being a subset of the original row names (#443). * rsample does not re-export `gather()` anymore (#451). + # rsample 1.1.1 * All grouped resampling functions (`group_vfold_cv()`, `group_mc_cv()`, `group_initial_split()` and `group_validation_split()`, and `group_bootstraps()`) now support stratification. Strata must be constant within each group (@mikemahoney218, #317, #360, #363, #364, #365). diff --git a/cran-comments.md b/cran-comments.md index 3f830087..e69de29b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +0,0 @@ -# v 1.1.1 - -This version includes a maintainer change from Julia Silge to Hannah Frick.