Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

makeUnitVignette

Make Vignette for Unit Tests


Description

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

Usage

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


pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.