BuildVignettes: Build Package Vignettes

View source: R/BuildVignettes.R

BuildVignettesR Documentation

Build Package Vignettes

Description

Build package vignettes from their source files using the buildVignettes function. Writes the PDF and (or) HTML documents of the package vignettes, and their executable code files.

Usage

BuildVignettes(
  dir = getwd(),
  doc = file.path(dir, "inst/doc"),
  gs_quality = c("ebook", "printer", "screen", "none"),
  clean = TRUE,
  quiet = TRUE
)

Arguments

dir

'character' string. Path to a package's root source directory, by default the working directory. Its subdirectory ‘vignettes’ is searched for vignette source files.

doc

'character' string. Path to write the vignette output files, by default ‘inst/doc’ under the working directory.

gs_quality

'character' string. Quality of compacted PDF files, the options are "ebook" (150 dpi, default), "printer" (300 dpi), "screen" (72 dpi), and "none" (no compression). See compactPDF function for details.

clean

'logical' flag. Whether to remove all intermediate files generated by the build.

quiet

'logical' flag. Whether to suppress most output.

Value

Invisible NULL

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center


USGS-R/inlmisc documentation built on Sept. 17, 2022, 2:38 a.m.