Skip to content

Commit

Permalink
RC 1.2.1 (#470)
Browse files Browse the repository at this point in the history
* Polish NEWS

* update link

* rebuild readme

* update snapshot

* update roxygen2 version
(no other changes happened)

* Increment version number to 1.2.1
  • Loading branch information
hfrick authored Mar 25, 2024
1 parent e35e756 commit 2722e62
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 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.2.0.9000
Version: 1.2.1
Authors@R: c(
person("Hannah", "Frick", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-6049-5258")),
Expand Down Expand Up @@ -59,5 +59,5 @@ Config/Needs/website:
tidyverse/tidytemplate
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Config/testthat/edition: 3
5 changes: 4 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# rsample (development version)
# rsample 1.2.1

* `nested_cv()` no longer errors if `outside` is a long call (#459, #461).

* The `validation_set` class now has its own `pretty()` method (#456).


# 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 Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pak::pak("rsample")

This project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.

- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on RStudio Community](https://community.rstudio.com/new-topic?category_id=15&tags=tidymodels,question).
- For questions and discussions about tidymodels packages, modeling, and machine learning, please [post on Posit Community](https://forum.posit.co/new-topic?category_id=15&tags=tidymodels,question).

- If you think you have encountered a bug, please [submit an issue](https://github.com/tidymodels/rsample/issues).

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

- For questions and discussions about tidymodels packages, modeling, and
machine learning, please [post on RStudio
Community](https://community.rstudio.com/new-topic?category_id=15&tags=tidymodels,question).
machine learning, please [post on Posit
Community](https://forum.posit.co/new-topic?category_id=15&tags=tidymodels,question).

- If you think you have encountered a bug, please [submit an
issue](https://github.com/tidymodels/rsample/issues).
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/_snaps/initial_validation_split.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
initial_validation_split(dat, strata = does_not_exist)
Condition
Error in `initial_validation_split()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `does_not_exist` doesn't exist.

---
Expand All @@ -29,7 +29,7 @@
initial_validation_split(dat, strata = c(x, f))
Condition
Error in `initial_validation_split()`:
! Can't subset columns that don't exist.
! Can't select columns that don't exist.
x Column `x` doesn't exist.

---
Expand All @@ -38,7 +38,7 @@
initial_validation_split(dat, strata = rep(1:3, times = c(50, 25, 25)))
Condition
Error in `initial_validation_split()`:
! Can't subset columns past the end.
! Can't select columns past the end.
i Location 3 doesn't exist.
i There are only 2 columns.

Expand Down

0 comments on commit 2722e62

Please sign in to comment.