Skip to content

Commit

Permalink
update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Aug 23, 2024
1 parent 1f83a36 commit c8bf7aa
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions tests/testthat/_snaps/translate.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,10 +504,10 @@
translate_args(basic %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -555,10 +555,10 @@
translate_args(mixture %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -688,10 +688,10 @@
translate_args(basic %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -827,10 +827,10 @@
translate_args(mixture %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -968,10 +968,10 @@
translate_args(mixture_v %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -1334,10 +1334,10 @@
translate_args(basic %>% set_engine("glmnet"))
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

---

Expand Down Expand Up @@ -1552,10 +1552,10 @@
basic_incomplete %>% translate_args()
Condition
Error in `.check_glmnet_penalty_fit()`:
! For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
* There are 0 values for `penalty`.
* To try multiple values for total regularization, use the tune package.
* To predict multiple penalties, use `multi_predict()`
x For the glmnet engine, `penalty` must be a single number (or a value of `tune()`).
! There are 0 values for `penalty`.
i To try multiple values for total regularization, use the tune package.
i To predict multiple penalties, use `multi_predict()`.

# arguments (rand_forest)

Expand Down

0 comments on commit c8bf7aa

Please sign in to comment.