Skip to content

Commit

Permalink
add missing skip_if_not_installed
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Jun 22, 2024
1 parent e214b0f commit e24eef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-orbital.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ test_that("orbital works with parsnip", {
})

test_that("orbital errors on non-trained parsnip", {
skip_if_not_installed("parsnip")
lm_spec <- parsnip::linear_reg()

expect_snapshot(
Expand Down

0 comments on commit e24eef0

Please sign in to comment.