Skip to content

Commit

Permalink
Skip tests if no mockery
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Aug 14, 2023
1 parent 0c83bd3 commit 02de40e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-pin-read-write.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_if_not_installed("mockery")

test_that("can pin a model", {
b <- board_temp()
v <- vetiver_model(cars_lm, "cars1")
Expand Down

0 comments on commit 02de40e

Please sign in to comment.