diff --git a/tests/testthat/test-glimpse.R b/tests/testthat/test-glimpse.R index d21e201c7..5db0c2eb2 100644 --- a/tests/testthat/test-glimpse.R +++ b/tests/testthat/test-glimpse.R @@ -56,6 +56,7 @@ test_that("glimpse calls tbl_sum() (#550)", { }) test_that("output test for glimpse()", { + skip_if_not_installed("tibble") local_unknown_rows() expect_snapshot({ diff --git a/tests/testthat/test-num.R b/tests/testthat/test-num.R index dd207ad48..199f7b729 100644 --- a/tests/testthat/test-num.R +++ b/tests/testthat/test-num.R @@ -1,4 +1,6 @@ test_that("output test", { + skip_if_not_installed("tibble") + expect_snapshot({ tibble::tibble( x0 = num(9:11 * 100 + 0.5, sigfig = 3),