Skip to content

Commit 10dbc6d

Browse files
committed
add missing skip_on_cran()
1 parent d7b84ef commit 10dbc6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test_tf.R

+2
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ test_that("bad args", {
301301
})
302302

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

0 commit comments

Comments
 (0)