Skip to content

Commit

Permalink
Edit test skipping rule
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Oct 31, 2022
1 parent 47f3654 commit d0f83e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-utils_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ targets::tar_test("list_nonempty() removes empty list elements", {
})

targets::tar_test("produce_seed_rep()", {
skip_if(!("seed" %in% names(formals(targets::tar_option_set))))
skip_on_cran()
skip_if(!("seed" %in% names(formals(targets::tar_option_set))))
on.exit(targets::tar_option_reset())
targets::tar_option_set(seed = 0L)
out <- produce_seed_rep("x", 1L, 2L, 3L)
Expand Down

0 comments on commit d0f83e6

Please sign in to comment.