tests/testthat/test_1-0-0_generate_LaTeX_manual.R

context("LaTeX manual")

test_that("Generate LaTeX manual", {
  skip_on_cran()
  skip_on_appveyor()
  skip_if_not(!nzchar(Sys.getenv("texi2dvi")))
  skip_if_not(!file.exists("fastmatch.pdf"))
  generate_LaTeX_manual("fastmatch", launch = FALSE)
  expect_true(file.exists("fastmatch.pdf"))
  if (file.exists("fastmatch.pdf")) {
    file.remove("fastmatch.pdf")
  }
})

Try the hutils package in your browser

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

hutils documentation built on Aug. 20, 2018, 9:04 a.m.