Skip to content

Commit 9b71ffd

Browse files
authored
merge pr #213: release v1.0.4
2 parents 5c4ac40 + 0e01fca commit 9b71ffd

File tree

10 files changed

+15
-16
lines changed

10 files changed

+15
-16
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: stacks
22
Title: Tidy Model Stacking
3-
Version: 1.0.3.9001
3+
Version: 1.0.4
44
Authors@R: c(
55
person("Simon", "Couch", , "[email protected]", role = c("aut", "cre")),
66
person("Max", "Kuhn", , "[email protected]", role = "aut"),
@@ -37,8 +37,7 @@ Imports:
3737
tidyr,
3838
tune (>= 1.2.0),
3939
vctrs (>= 0.6.1),
40-
workflows (>= 1.1.4),
41-
yardstick (>= 1.1.0)
40+
workflows (>= 1.1.4)
4241
Suggests:
4342
covr,
4443
h2o,
@@ -51,7 +50,8 @@ Suggests:
5150
ranger,
5251
rmarkdown,
5352
testthat (>= 3.0.0),
54-
workflowsets (>= 0.1.0)
53+
workflowsets (>= 0.1.0),
54+
yardstick (>= 1.1.0)
5555
VignetteBuilder:
5656
knitr
5757
Config/Needs/website: tidyverse/tidytemplate

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,3 @@ importFrom(ggplot2,autoplot)
7777
importFrom(rlang,"%||%")
7878
importFrom(rlang,caller_env)
7979
importFrom(stats,predict)
80-
importFrom(yardstick,metric_set)

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# stacks (development version)
1+
# stacks 1.0.4
22

33
* 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).
44

R/utils.R

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,3 @@ mode_is_regression <- function(x) {
163163
}
164164
x
165165
}
166-
167-
# quiet R-CMD-check NOTEs that yardstick is unused
168-
# (see example data .Rmds for usage)
169-
#' @importFrom yardstick metric_set
170-
NULL

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The full visual outline for these steps can be found [here](https://github.com/t
8181

8282
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.
8383

84-
- 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).
84+
- 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).
8585

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ By contributing to this project, you agree to abide by its terms.
176176

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

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

cran-comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ There were no ERRORs, WARNINGs, or NOTEs.
44

55
## Reverse dependencies
66

7-
We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems.
7+
We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package, and saw no new problems.

tests/testthat/test_add_candidates.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ library(kernlab)
1818
skip_if_not_installed("nnet")
1919
library(nnet)
2020

21+
skip_if_not_installed("yardstick")
22+
2123
test_that("stack can add candidates (regression)", {
2224
skip_on_cran()
2325

tests/testthat/test_blend_predictions.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ library(kernlab)
1818
skip_if_not_installed("nnet")
1919
library(nnet)
2020

21+
skip_if_not_installed("yardstick")
22+
2123
test_that("blend_predictions works", {
2224
skip_on_cran()
2325

vignettes/classification.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ library(rsample)
2727
library(parsnip)
2828
library(workflows)
2929
library(recipes)
30-
library(yardstick)
3130
library(stacks)
3231
library(purrr)
3332
library(dplyr)
@@ -38,8 +37,10 @@ library(ggplot2)
3837
```{r, include = FALSE}
3938
if (rlang::is_installed("ranger") &&
4039
rlang::is_installed("nnet") &&
41-
rlang::is_installed("kernlab")) {
40+
rlang::is_installed("kernlab") &&
41+
rlang::is_installed("yardstick")) {
4242
run <- TRUE
43+
library(yardstick)
4344
} else {
4445
run <- FALSE
4546
}

0 commit comments

Comments
 (0)