File: makeUnitVignette.Rd

package info (click to toggle)
r-cran-pkgmaker 0.32.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,192 kB
  • sloc: sh: 13; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unitTests.R
\name{makeUnitVignette}
\alias{makeUnitVignette}
\title{Make Vignette for Unit Tests}
\usage{
makeUnitVignette(
  pkg,
  file = paste(pkg, "-unitTests.pdf", sep = ""),
  ...,
  check = FALSE
)
}
\arguments{
\item{pkg}{Package name}

\item{file}{Output file (.Rnw, .tex, or .pdf)}

\item{...}{extra arguments passed to \code{\link{utest}}.}

\item{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 \code{\link{utest}}.}
}
\value{
Result of running unit test suite
}
\description{
Builds a vignette for unit tests in a package using the \code{\link{utest}}
and a template vignette file.
}