tests/testthat/test-pandoc.R

test_with_pandoc("math filter uses the selected Pandoc executable", {
  skip_if_not(rmarkdown::pandoc_available("2.7.3"))
  expect_true(
    meta("pandoc-path", rmarkdown::pandoc_exec()) %in% lua_filters()
  )
})

Try the ftExtra package in your browser

Any scripts or data that you put into this service are public.

ftExtra documentation built on Sept. 16, 2026, 9:08 a.m.