Skip to contents

See report for the generic. This function writes a single-file HTML report with inline CSS (no external network requests, no `htmltools` dependency) so it can be emailed or archived as-is.

Usage

report_html(
  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 .html 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).

...

Currently unused.

Value

The output path, invisibly.