Skip to contents

This function renders all R Markdown files in the specified input directory as PDF documents. The rendered PDFs are saved in the specified output directory.

Usage

render_pdf_vignettes(
  input_dir = "vignettes",
  output_dir = "inst/doc",
  fileNamesAsLinks = TRUE
)

Arguments

input_dir

A character string specifying the directory containing the R Markdown files. Default is "vignettes".

output_dir

A character string specifying the directory where the rendered PDFs will be saved. Default is "inst/doc".

A logical value indicating whether to use the titles as links in the README file. Default is `TRUE`.

Value

The function does not return a value. It is called for its side effects of rendering PDF documents.

Examples

if (FALSE) { # \dontrun{
render_pdf_vignettes()
render_pdf_vignettes(input_dir = "my_vignettes", output_dir = "my_docs")
} # }