Skip to content

Commit

Permalink
RC 0.0.9 (#221)
Browse files Browse the repository at this point in the history
* Load modeldata, to do away with NOTEs on CRAN

* Polish NEWS

* Update URLs, rebuild README

* Run revdepchecks

* Add CRAN comments

* Increment version number

* Update maintainer
  • Loading branch information
juliasilge authored Feb 17, 2021
1 parent ef458a5 commit e66048d
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 580 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ rsample_hex_thumb.png
^README\.Rmd$
^CODE_OF_CONDUCT\.md$
^\.github$
^cran-comments\.md$
11 changes: 6 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Package: rsample
Title: General Resampling Infrastructure
Version: 0.0.8.9001
Version: 0.0.9
Authors@R: c(
person(given = "Max", family = "Kuhn", email = "max@rstudio.com", role = c("aut", "cre")),
person(given = "Fanny", family = "Chow", email = "fannybchow@gmail.com", role = c("aut")),
person(given = "Hadley", family = "Wickham", email = "hadley@rstudio.com", role = c("aut")),
person(given = "Julia", family = "Silge", email = "julia.silge@rstudio.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-3671-836X")),
person(given = "Fanny", family = "Chow", email = "fannybchow@gmail.com", role = c("aut")),
person(given = "Max", family = "Kuhn", email = "max@rstudio.com", role = c("aut")),
person(given = "Hadley", family = "Wickham", email = "hadley@rstudio.com", role = c("aut")),
person("RStudio", role = "cph"))
Maintainer: Max Kuhn <max@rstudio.com>
Maintainer: Julia Silge <julia.silge@rstudio.com>
Description: Classes and functions to create and summarize different types of resampling objects (e.g. bootstrap, cross-validation).
Imports:
dplyr (>= 1.0.0),
Expand Down
8 changes: 4 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rsample (development version)
# rsample 0.0.9

* New `rset_reconstruct()`, a developer tool to ease creation of new rset subclasses (#210).

Expand All @@ -8,13 +8,13 @@

* `rset` objects now contain a "fingerprint" attribute that can be used to check to see if the same object uses the same resamples.

* The `reg_intervals()` function is a convenience function for `lm()`, `glm()`, `survreg()`, and `coxph()` models.
* The `reg_intervals()` function is a convenience function for `lm()`, `glm()`, `survreg()`, and `coxph()` models (#206).

* A few internal functions were exported so that `rsample`-adjacent packages can use the same underlying code.

* The `obj_sum()` method for `rsplit` objects was updated.
* The `obj_sum()` method for `rsplit` objects was updated (#215).

* Changed the inheritance structure for `rsplit` objects from specific to general and simplified the methods for the `complement()` generic.
* Changed the inheritance structure for `rsplit` objects from specific to general and simplified the methods for the `complement()` generic (#216).


# rsample 0.0.8
Expand Down
3 changes: 2 additions & 1 deletion R/boot.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
#' bootstraps(mtcars, times = 2, apparent = TRUE)
#'
#' library(purrr)
#' data(wa_churn, package = "modeldata")
#' library(modeldata)
#' data(wa_churn)
#'
#' set.seed(13)
#' resample1 <- bootstraps(wa_churn, times = 3)
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ install_dev("rsample")

This project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/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://rstd.io/tidymodels-community).
- 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).

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

- Either way, learn how to create and share a [reprex](https://rstd.io/reprex) (a minimal, reproducible example), to clearly communicate about your code.
- Either way, learn how to create and share a [reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html) (a minimal, reproducible example), to clearly communicate about your code.

- We welcome contributions, including typo corrections, bug fixes, and feature requests! If you have never made a pull request to an R package before, `rsample` is an excellent place to start. Find an [issue](https://github.com/tidymodels/rsample/issues/) with the **help wanted `r emo::ji("heart")`** tag, comment that you'd like to take it on, and we'll help you get started.

Expand Down
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ resamples and corresponding classes for their analysis. The goal is to
have a modular set of methods that can be used across different R
packages for:

- traditional resampling techniques for estimating the sampling
- traditional resampling techniques for estimating the sampling
distribution of a statistic and
- estimating model performance using a holdout set
- estimating model performance using a holdout set

The scope of `rsample` is to provide the basic building blocks for
creating and analyzing resamples of a data set but does not include code
Expand Down Expand Up @@ -85,24 +85,25 @@ This project is released with a [Contributor Code of
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

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

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

- Either way, learn how to create and share a
[reprex](https://rstd.io/reprex) (a minimal, reproducible example),
to clearly communicate about your code.
- Either way, learn how to create and share a
[reprex](https://reprex.tidyverse.org/articles/articles/learn-reprex.html)
(a minimal, reproducible example), to clearly communicate about your
code.

- We welcome contributions, including typo corrections, bug fixes, and
feature requests\! If you have never made a pull request to an R
- We welcome contributions, including typo corrections, bug fixes, and
feature requests! If you have never made a pull request to an R
package before, `rsample` is an excellent place to start. Find an
[issue](https://github.com/tidymodels/rsample/issues/) with the
**help wanted ❤️** tag, comment that you’d like to take it on, and
we’ll help you get started.

- Check out further details on [contributing guidelines for tidymodels
- Check out further details on [contributing guidelines for tidymodels
packages](https://www.tidymodels.org/contribute/) and [how to get
help](https://www.tidymodels.org/help/).
22 changes: 22 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Release Summary

This is the 8th CRAN release of rsample. This release fixes bugs, updates the inheritance structure for rsample objects, and adds developer-friendly tools for package developers or analysts depending on rsample. This release also marks a **change in maintainer** from Max Kuhn <max@rstudio.com>, to Julia Silge <julia.silge@rstudio.com>.

## Test environments

* local macOS install: release
* macOS 10.15.7 (on GitHub actions): release
* windows server 2019 10.0.17763 (on GitHub actions): oldrel, release
* ubuntu 16.04 (on GitHub actions): oldrel, release, devel
* win-builder: release, devel

## R CMD check results

0 errors | 0 warnings | 0 notes

## revdepcheck results

We checked 23 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
3 changes: 2 additions & 1 deletion man/bootstraps.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 12 additions & 61 deletions revdep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,70 +3,21 @@
|field |value |
|:--------|:----------------------------|
|version |R version 4.0.3 (2020-10-10) |
|os |Ubuntu 18.04.5 LTS |
|system |x86_64, linux-gnu |
|ui |X11 |
|language |en |
|collate |en_GB.UTF-8 |
|ctype |en_GB.UTF-8 |
|tz |Europe/London |
|date |2021-02-03 |
|os |macOS Mojave 10.14.6 |
|system |x86_64, darwin17.0 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Denver |
|date |2021-02-16 |

# Dependencies

|package |old |new |Δ |
|:----------|:------|:----------|:--|
|rsample |0.0.8 |0.0.8.9001 |* |
|assertthat |0.2.1 |0.2.1 | |
|cli |2.3.0 |2.3.0 | |
|cpp11 |0.2.6 |0.2.6 | |
|crayon |1.4.0 |1.4.0 | |
|digest |0.6.27 |0.6.27 | |
|dplyr |1.0.4 |1.0.4 | |
|ellipsis |0.3.1 |0.3.1 | |
|fansi |0.4.2 |0.4.2 | |
|furrr |0.2.2 |0.2.2 | |
|future |1.21.0 |1.21.0 | |
|generics |0.1.0 |0.1.0 | |
|globals |0.14.0 |0.14.0 | |
|glue |1.4.2 |1.4.2 | |
|lifecycle |0.2.0 |0.2.0 | |
|listenv |0.8.0 |0.8.0 | |
|magrittr |2.0.1 |2.0.1 | |
|modeldata |0.1.0 |NA |* |
|parallelly |1.23.0 |1.23.0 | |
|pillar |1.4.7 |1.4.7 | |
|pkgconfig |2.0.3 |2.0.3 | |
|purrr |0.3.4 |0.3.4 | |
|R6 |2.5.0 |2.5.0 | |
|rlang |0.4.10 |0.4.10 | |
|slider |0.1.5 |0.1.5 | |
|tibble |3.0.6 |3.0.6 | |
|tidyr |1.1.2 |1.1.2 | |
|tidyselect |1.1.0 |1.1.0 | |
|utf8 |1.1.4 |1.1.4 | |
|vctrs |0.3.6 |0.3.6 | |
|warp |0.2.0 |0.2.0 | |
|package |old |new |Δ |
|:-------|:-----|:-----------|:--|
|rsample |0.0.8 |0.0.8.9001 |* |
|pillar |NA |1.4.99.9006 |* |

# Revdeps

## Failed to check (15)

|package |version |error |warning |note |
|:-------------|:-------|:-----|:-------|:----|
|baguette |? | | | |
|broom |? | | | |
|butcher |? | | | |
|embed |? | | | |
|MachineShop |? | | | |
|probably |? | | | |
|psfmi |? | | | |
|recipes |? | | | |
|solitude |? | | | |
|tfdatasets |? | | | |
|tidymodels |? | | | |
|tidyposterior |? | | | |
|tidyrules |? | | | |
|timetk |? | | | |
|tune |? | | | |

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 23 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

Loading

0 comments on commit e66048d

Please sign in to comment.