Skip to content

Commit

Permalink
Skip vignette test on CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Apr 6, 2021
1 parent 8acc34d commit 62781a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-vignettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 62781a8

Please sign in to comment.