Skip to content

Commit

Permalink
Other usages
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Nov 25, 2024
1 parent 46c6f52 commit 8fba0a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-cnd-abort.R
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ test_that("generic call is picked up in methods", {
test_that("errors are fully displayed (parents, calls) in knitted files", {
skip_if_not_installed("knitr")
skip_if_not_installed("rmarkdown")
skip_if(!rmarkdown::pandoc_available())
skip_if_not(rmarkdown::pandoc_available())

expect_snapshot({
writeLines(render_md("test-parent-errors.Rmd"))
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-cnd-entrace.R
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ test_that("can call `global_entrace()` in knitted documents", {
)
skip_if_not_installed("knitr")
skip_if_not_installed("rmarkdown")
skip_if(!rmarkdown::pandoc_available())
skip_if_not(rmarkdown::pandoc_available())

entrace_lines <- render_md("test-entrace.Rmd", env = current_env())

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-trace.R
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ test_that("fails when `bottom` is not on the stack", {
test_that("caught error does not display backtrace in knitted files", {
skip_if_not_installed("knitr")
skip_if_not_installed("rmarkdown")
skip_if(!rmarkdown::pandoc_available())
skip_if_not(rmarkdown::pandoc_available())

local_options(
rlang_backtrace_on_error = NULL,
Expand Down

0 comments on commit 8fba0a9

Please sign in to comment.