tests/testthat/test-fig_caption.R

fn <- system.file("./tests/testthat/Full_test_suite.Rmd", package = "Grmd")

if (file.exists(fn)) {
  # TODO: test passes but must figure out how to find the file when running test check
  output_file <- tempfile(fileext = ".html")
  rmarkdown::render(fn, output_file = output_file)
}
gforge/Grmd documentation built on May 17, 2019, 2:12 a.m.