diff --git a/DESCRIPTION b/DESCRIPTION index d3a299ac..8217a319 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", , "hannah@posit.co", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6049-5258")), @@ -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 diff --git a/NEWS.md b/NEWS.md index 39587232..592b69f4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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). diff --git a/README.Rmd b/README.Rmd index a86ca97a..ca89c7b6 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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). diff --git a/README.md b/README.md index 4af17258..c0f01fd9 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/tests/testthat/_snaps/initial_validation_split.md b/tests/testthat/_snaps/initial_validation_split.md index 5d6a269f..05265a11 100644 --- a/tests/testthat/_snaps/initial_validation_split.md +++ b/tests/testthat/_snaps/initial_validation_split.md @@ -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. --- @@ -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. --- @@ -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.