Skip to content

Commit

Permalink
merge pr #213: release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Mar 21, 2024
2 parents 5c4ac40 + 0e01fca commit 9b71ffd
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: stacks
Title: Tidy Model Stacking
Version: 1.0.3.9001
Version: 1.0.4
Authors@R: c(
person("Simon", "Couch", , "simon.couch@posit.co", role = c("aut", "cre")),
person("Max", "Kuhn", , "max@posit.co", role = "aut"),
Expand Down Expand Up @@ -37,8 +37,7 @@ Imports:
tidyr,
tune (>= 1.2.0),
vctrs (>= 0.6.1),
workflows (>= 1.1.4),
yardstick (>= 1.1.0)
workflows (>= 1.1.4)
Suggests:
covr,
h2o,
Expand All @@ -51,7 +50,8 @@ Suggests:
ranger,
rmarkdown,
testthat (>= 3.0.0),
workflowsets (>= 0.1.0)
workflowsets (>= 0.1.0),
yardstick (>= 1.1.0)
VignetteBuilder:
knitr
Config/Needs/website: tidyverse/tidytemplate
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ importFrom(ggplot2,autoplot)
importFrom(rlang,"%||%")
importFrom(rlang,caller_env)
importFrom(stats,predict)
importFrom(yardstick,metric_set)
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# stacks (development version)
# stacks 1.0.4

* Introduced support for parallel processing using the [future](https://www.futureverse.org/) framework. The stacks package previously supported parallelism with foreach, and users can use either framework for now. In a future release, stacks will begin the deprecation cycle for parallelism with foreach, so we encourage users to begin migrating their code now. See [the _Parallel Processing_ section in the tune package's "Optimizations" article](https://tune.tidymodels.org/articles/extras/optimizations.html#parallel-processing) to learn more (#866).

Expand Down
5 changes: 0 additions & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,3 @@ mode_is_regression <- function(x) {
}
x
}

# quiet R-CMD-check NOTEs that yardstick is unused
# (see example data .Rmds for usage)
#' @importFrom yardstick metric_set
NULL
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The full visual outline for these steps can be found [here](https://github.com/t

This project is released with a [Contributor Code of Conduct](https://github.com/tidymodels/stacks/blob/main/.github/CODE_OF_CONDUCT.md). 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 Posit 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/stacks/issues).

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ 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 Posit
Community](https://community.rstudio.com/new-topic?category_id=15&tags=tidymodels,question).
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/stacks/issues).
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ There were no ERRORs, WARNINGs, or NOTEs.

## Reverse dependencies

We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems.
We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems.
2 changes: 2 additions & 0 deletions tests/testthat/test_add_candidates.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ library(kernlab)
skip_if_not_installed("nnet")
library(nnet)

skip_if_not_installed("yardstick")

test_that("stack can add candidates (regression)", {
skip_on_cran()

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test_blend_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ library(kernlab)
skip_if_not_installed("nnet")
library(nnet)

skip_if_not_installed("yardstick")

test_that("blend_predictions works", {
skip_on_cran()

Expand Down
5 changes: 3 additions & 2 deletions vignettes/classification.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ library(rsample)
library(parsnip)
library(workflows)
library(recipes)
library(yardstick)
library(stacks)
library(purrr)
library(dplyr)
Expand All @@ -38,8 +37,10 @@ library(ggplot2)
```{r, include = FALSE}
if (rlang::is_installed("ranger") &&
rlang::is_installed("nnet") &&
rlang::is_installed("kernlab")) {
rlang::is_installed("kernlab") &&
rlang::is_installed("yardstick")) {
run <- TRUE
library(yardstick)
} else {
run <- FALSE
}
Expand Down

0 comments on commit 9b71ffd

Please sign in to comment.