Skip to content

Commit

Permalink
Merge pull request #47 from tidymodels/update-snapshots
Browse files Browse the repository at this point in the history
update snapshots
  • Loading branch information
hfrick authored Aug 5, 2024
2 parents bd21aba + 1382f6c commit 29180d3
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 127 deletions.
17 changes: 10 additions & 7 deletions tests/testthat/_snaps/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@

Code
use_cubist(island ~ ., data = penguins)
Error <rlang_error>
Cubist models are only for regression
Condition
Error in `use_cubist()`:
! Cubist models are only for regression

---

Code
use_C5.0(bill_depth_mm ~ ., data = penguins)
Error <rlang_error>
C5.0 models are only for classification.
Condition
Error in `use_C5.0()`:
! C5.0 models are only for classification.

# no access to clipboard

Code
use_kknn(mpg ~ ., data = mtcars, clipboard = TRUE)
Message <simpleMessage>
Message
CLIPR_ALLOW has not been set, so clipr will not run interactively
Error <rlang_error>
Please use `clipboard = FALSE`
Condition
Error in `check_clipboard()`:
! Please use `clipboard = FALSE`

Loading

0 comments on commit 29180d3

Please sign in to comment.