Skip to content

Commit

Permalink
skip test on old r versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jayhesselberth committed Nov 26, 2023
1 parent fd791dd commit e33830a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-rd-html.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ test_that("Sexprs with multiple args are parsed", {
})

cli::test_that_cli("Sexprs with multiple args are parsed", {
skip_if_not(getRversion() >= "4.0.0")
local_context_eval()
expect_snapshot(rd2html("\\Sexpr[results=verbatim]{1}"), error = TRUE)
})
Expand Down

0 comments on commit e33830a

Please sign in to comment.