Skip to content

Commit

Permalink
cleanup: skips tests that depend on withr
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Jan 15, 2024
1 parent e5428ac commit 2cb1cda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-teal_slice.R
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ testthat::test_that("teal_slice dataname has to be a string when expr is specifi
testthat::test_that(
"teal_slice converts factors to characters for 'selected' and 'choices' parameters",
{
testthat::skip_if_not_installed("withr")
slices_path <- withr::local_file("slices.json")
tss <- teal_slices(
teal_slice(
Expand Down

0 comments on commit 2cb1cda

Please sign in to comment.