missingPackageString: Checks for existence of required LaTeX packages.

missingPackageStringR Documentation

Checks for existence of required LaTeX packages.

Description

The code produced by latexTable() can be rendered only if certain LaTeX packages are installed. (See the note at the end of the latexTablePDF() help file for details.) If packages are missing, this function generates an informative string that can be used in warning or error messages.

Usage

missingPackageString(
  installedPackageList,
  requiredPackageList,
  writePDF,
  writeTex
)

Arguments

installedPackageList, requiredPackageList

Character vectors.

writePDF, writeTex

Logical variables. See the latexTable() documentation for further information about these arguments.

Details

This function is not exported. It is called by latexTablePDF() only if packages are missing. It generates either an error (if writePDF is TRUE) or a warning (if writePDF is FALSE but writeTex is TRUE).


jbullock35/Bullock documentation built on April 1, 2022, 6:21 p.m.