Skip to content

Commit

Permalink
add missing skip_on_cran()
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Jul 2, 2022
1 parent d7b84ef commit 10dbc6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test_tf.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ test_that("bad args", {
})

test_that("bake method errors when needed non-standard role columns are missing", {
skip_on_cran()
skip_if(!is_tf_available())
rec <- recipe(x2 ~ ., data = ex_dat) %>%
step_embed(x3, outcome = vars(x2), options = embed_control(verbose = 0), id = "id") %>%
update_role(x3, new_role = "potato") %>%
Expand Down

0 comments on commit 10dbc6d

Please sign in to comment.