Skip to content

Commit

Permalink
Optionally skip test requiring pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Oct 8, 2024
1 parent 1c83913 commit e9312ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-df_printer.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
test_that("use_model_printer and use_df_printer works", {
skip_if_not(rmarkdown::pandoc_available("1.12.3"))
rmd_file <- tempfile(fileext = ".Rmd")
file.copy("rmd/use-printer.Rmd", rmd_file)
outfile <- tempfile(fileext = ".html")
Expand Down

0 comments on commit e9312ae

Please sign in to comment.