Skip to content

Commit

Permalink
test conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jan 27, 2025
1 parent 61f0b4f commit cdc93bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-parallel.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
skip_if_not_installed("mirai")
skip_if_not_installed("carrier")

test_that("Can't parallel map without first setting daemons", {
expect_snapshot(error = TRUE, {
map(list(x = 1, y = 2), list, .parallel = TRUE)
Expand Down

0 comments on commit cdc93bf

Please sign in to comment.