Skip to content

Commit

Permalink
skip tests if clipr is not available (like on CRAN)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlincoln committed Sep 17, 2024
1 parent 2c78bfd commit 8791798
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-sizes.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ mirror <- function(length) {
}

test_that("large sizes of content can be copied losslessly", {
skip_if_not(is_clipr_available, skip_msg)

lapply(10^(1:8), mirror)
})

0 comments on commit 8791798

Please sign in to comment.