diff --git a/tests/testthat/test-vignette-formats.R b/tests/testthat/test-vignette-formats.R index 62a0e4bbe..188d48304 100644 --- a/tests/testthat/test-vignette-formats.R +++ b/tests/testthat/test-vignette-formats.R @@ -1,5 +1,9 @@ test_that("formats vignette", { skip_if_not_installed("knitr", "1.34.2") + skip_if_not_installed("dplyr") + skip_if_not_installed("formattable") + skip_if_not_installed("ggplot2") + skip_if_not_installed("tidyr") # Fails on Linux test_galley("formats") diff --git a/tests/testthat/test-vignette-types.R b/tests/testthat/test-vignette-types.R index 8766f3fdb..41f094337 100644 --- a/tests/testthat/test-vignette-types.R +++ b/tests/testthat/test-vignette-types.R @@ -1,3 +1,7 @@ test_that("types vignette", { + skip_if_not_installed("dplyr") + skip_if_not_installed("tidyr") + skip_if_not_installed("purrr") + test_galley("types", variant = rlang_variant()) })