Skip to content

Commit 0e3db83

Browse files
authored
RC 1.2.0 (#453)
* bump required R version * Polish NEWS * Update cran comments * Increment version number to 1.2.0
1 parent fe347a9 commit 0e3db83

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: rsample
22
Title: General Resampling Infrastructure
3-
Version: 1.1.1.9001
3+
Version: 1.2.0
44
Authors@R: c(
55
person("Hannah", "Frick", , "hannah@posit.co", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0002-6049-5258")),
@@ -19,7 +19,7 @@ License: MIT + file LICENSE
1919
URL: https://rsample.tidymodels.org, https://github.com/tidymodels/rsample
2020
BugReports: https://github.com/tidymodels/rsample/issues
2121
Depends:
22-
R (>= 3.4)
22+
R (>= 3.6)
2323
Imports:
2424
cli,
2525
dplyr (>= 1.1.1),

NEWS.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# rsample (development version)
2-
3-
* `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).
1+
# rsample 1.2.0
42

53
* 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).
64

@@ -10,12 +8,15 @@
108

119
* `make_splits()` gained an example in the documentation (@AngelFelizR, #432).
1210

13-
* The `int_*()` functions are now generics and have corresponding methods for class `bootstraps` (#435).
11+
* `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).
1412

15-
* 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)
13+
* The `int_*()` functions are now S3 generics and have corresponding methods for class `bootstraps` (#435).
14+
15+
* 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).
1616

1717
* rsample does not re-export `gather()` anymore (#451).
1818

19+
1920
# rsample 1.1.1
2021

2122
* 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).

cran-comments.md

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
# v 1.1.1
2-
3-
This version includes a maintainer change from Julia Silge to Hannah Frick.

0 commit comments

Comments
 (0)