Skip to contents

See report for the generic dispatcher. This function assembles a temporary `.Rmd` file with the same content as report_html (site, cross-system summary, classification cards, horizons, provenance) and renders it via rmarkdown::render().

Usage

report_pdf(
  x,
  file,
  pedon = NULL,
  title = NULL,
  include_family = FALSE,
  specifiers = FALSE,
  lang = c("en", "pt"),
  ...
)

Arguments

x

A ClassificationResult, list of results, or PedonRecord.

file

Output .pdf path.

pedon

Optional PedonRecord.

title

Report title.

include_family, specifiers

Passed through to the keys when x is a PedonRecord; see report.

lang

Report language, "en" (default) or "pt" (Brazilian Portuguese).

...

Passed to rmarkdown::render().

Value

The output path, invisibly.