f_pdf: PDF Pages of Functions

View source: R/f_pdf.R

f_pdfR Documentation

PDF Pages of Functions

Description

f_pdf generates in the current directory the pdf pages of one or several functions. The pdf pages are printed but not opened. Miktex or Texlive is required. This function wraps {utils::help} with the pdf option activated. Similar functions are available in the packages document and sinew.

Usage

f_pdf(..., char = NULL)

Arguments

...

any format recognized by cnsc, except list. A vector of quoted "package::function".

char

(name to) a character vector. Use this argument if ... fails or if you call the function from another function. If used, argument ... is ignored.

Examples

## FALSE is here to avoid a NOTE in CRAN checks. Ignore this line.
if (FALSE) {
   f_pdf(c("RWsearch::cnsc", "RWsearch::p_inun"))
}

RWsearch documentation built on May 29, 2024, 6:42 a.m.