Skip to content

Commit

Permalink
skip bs4_book tests if pandoc is lower than v2.0 (win-builder still h…
Browse files Browse the repository at this point in the history
…as 1.19.x)
  • Loading branch information
yihui committed Mar 16, 2022
1 parent 28fd5a8 commit 398af80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/helper-bs4_book.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ local_bs4_book <- function(name = "book",
env = parent.frame()) {

# don't run test using this book skeleton when Pandoc is not available
skip_if_not_pandoc()
skip_if_not_pandoc('2.0')

path <- local_book(name = name, title = title, author = author,
description = description, url = url, verbose = verbose, env = env)
Expand Down

0 comments on commit 398af80

Please sign in to comment.