pdf_document: Front-user function to build PDF

View source: R/pdf_document.R

pdf_documentR Documentation

Front-user function to build PDF

Description

This function must be used in the 'R' console. This will generate the documentation in a '_pagedown_output' directory

Usage

pdf_document(
  extra_args = c("--disable-gpu", "--no-sandbox"),
  timeout = 1000,
  verbose = 1,
  asHTML = FALSE
)

Arguments

extra_args

Extra command-line arguments to be passed to Chrome.

timeout

The number of seconds before canceling the document generation. Use a larger value if the document takes longer to build.

verbose

Level of verbosity: 0 means no messages; 1 means to print out some auxiliary messages (e.g., parameters for capturing screenshots); 2 (or TRUE) means all messages, including those from the Chrome processes and WebSocket connections.

asHTML

Logical indicating wether we prefer a HTML or a PDF (default) file


InseeFrLab/utilitr-template documentation built on Oct. 21, 2022, 11:42 p.m.