Skip to content

Commit

Permalink
skip if not installed kknn
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Jun 25, 2024
1 parent f7272a4 commit 06b5c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Suggests:
dplyr,
dtplyr,
jsonlite,
kknn,
parsnip,
recipes (>= 1.0.10.9000),
testthat (>= 3.0.0),
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-parsnip.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ test_that("multiplication works", {
skip_if_not_installed("parsnip")
skip_if_not_installed("workflows")
skip_if_not_installed("tidypredict")
skip_if_not_installed("kknn")

rec_spec <- recipes::recipe(mpg ~ ., data = mtcars) %>%
recipes::step_normalize(recipes::all_numeric_predictors())
Expand Down

0 comments on commit 06b5c41

Please sign in to comment.