Make Vignette for Unit Tests

Share:

Description

Builds a vignette for unit tests in a package using the utest and a template vignette file.

Usage

1
2
3
  makeUnitVignette(pkg,
    file = paste(pkg, "-unitTests.pdf", sep = ""), ...,
    check = FALSE)

Arguments

pkg

Package name

file

Output file (.Rnw, .tex, or .pdf)

...

extra arguments passed to utest.

check

logical that indactes the cal was made from R CMD check, in which case the vignette is updated only if results of unit tests can be found in the unit test output directory, where they would have been generated by utest.

Value

Result of running unit test suite

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.