File tree Expand file tree Collapse file tree 4 files changed +4
-57
lines changed
Expand file tree Collapse file tree 4 files changed +4
-57
lines changed Original file line number Diff line number Diff line change 4848# ' section.
4949# '
5050# ' @name extract-parsnip
51- # ' @examplesIf !parsnip:::is_cran_check()
51+ # ' @examplesIf !parsnip:::is_cran_check() & rlang::is_installed("dials")
5252# ' lm_spec <- linear_reg() |> set_engine("lm")
5353# ' lm_fit <- fit(lm_spec, mpg ~ ., data = mtcars)
5454# '
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ skip_if_not_installed(" dials" )
2+
13test_that(' extract' , {
24 x <- linear_reg() | > set_engine(" lm" ) | > fit(mpg ~ . , data = mtcars )
35 x_no_spec <- x
Original file line number Diff line number Diff line change @@ -301,6 +301,7 @@ test_that("arguments (svm_rbf)", {
301301# ------------------------------------------------------------------------------
302302
303303test_that(" translate tuning paramter names" , {
304+ skip_if_not_installed(" dials" )
304305
305306 mod <- boost_tree(trees = tune(" number of trees" ), min_n = tune(), tree_depth = 3 )
306307
You canβt perform that action at this time.
0 commit comments