tests/testthat/test-rd2markdown-item.R

test_that("rd2markdown item empty tag does not throw error", {
  rd <- rawRd("\\itemize{\\item{}{}}")
  expect_silent(md <- rd2markdown(rd))
  expect_equal(md, " * ")
})
Genentech/rd2markdown documentation built on Feb. 28, 2025, 1:27 p.m.