Skip to content

Commit 3a7d320

Browse files
committed
go back to shorter format
based on tidymodels/stacks#242
1 parent c6e16f0 commit 3a7d320

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/testthat/test-stacks-columns.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ library(tidyr)
1414
library(dplyr)
1515

1616
test_that("stacks can accommodate outcome levels that are not valid colnames", {
17-
# skip on pre-0.2.4
18-
skip_if(utils::packageVersion("stacks") < "0.2.3.9001")
19-
skip_if_not_installed("tune", "1.3.0.9006")
17+
skip_if_not_installed("stacks", "1.1.1.9001")
2018

2119
data("penguins")
2220

@@ -45,7 +43,7 @@ test_that("stacks can accommodate outcome levels that are not valid colnames", {
4543
)
4644

4745
expect_true(inherits(data_st, "data_stack"))
48-
expect_true(".pred_Adelie.1_tunedpre0_mod2_post0" %in% colnames(data_st))
46+
expect_true(".pred_Adelie.1_tuned_0_2_0" %in% colnames(data_st))
4947

5048
# glmnet will likely present warnings
5149
suppressMessages(

0 commit comments

Comments
 (0)