Skip to content

Commit

Permalink
RC 1.2.0 (#453)
Browse files Browse the repository at this point in the history
* bump required R version

* Polish NEWS

* Update cran comments

* Increment version number to 1.2.0
  • Loading branch information
hfrick authored Aug 23, 2023
1 parent fe347a9 commit 0e3db83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6049-5258")),
Expand All @@ -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),
Expand Down
11 changes: 6 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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).

Expand All @@ -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).
Expand Down
3 changes: 0 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
# v 1.1.1

This version includes a maintainer change from Julia Silge to Hannah Frick.

0 comments on commit 0e3db83

Please sign in to comment.