From 62781a8c8eba6427fd0d991e25095280d5957b60 Mon Sep 17 00:00:00 2001 From: Jim Hester Date: Tue, 6 Apr 2021 16:04:54 -0400 Subject: [PATCH] Skip vignette test on CRAN --- tests/testthat/test-vignettes.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test-vignettes.R b/tests/testthat/test-vignettes.R index 19b6d65a5..1705884e5 100644 --- a/tests/testthat/test-vignettes.R +++ b/tests/testthat/test-vignettes.R @@ -16,6 +16,8 @@ test_that("Sweave vignettes copied into doc", { }) test_that("Built files are updated", { + # This test is time dependant and sometimes fails on CRAN because the systems are under heavy load. + skip_on_cran() if (!pkgbuild::has_latex()) { skip("pdflatex not available") }