render_report: Render Report

Description Usage Arguments Value Examples

View source: R/report.R

Description

Render a given report to HTML.

Usage

1
render_report(report, ..., output_dir = ".")

Arguments

report

The name of the report, without the ".Rmd" extension.

...

Additional arguments to be passed to rmarkdown::render().

output_dir

The output directory for the rendered report.

Value

The path to the produced report.

Examples

1
2
3
4
output <- render_report(
  "ith-report", params = list(i = 9), output_dir = tempfile()
)
if (interactive()) browseURL(output)

miraisolutions/PoCbookdownPkg documentation built on May 13, 2020, 1:20 a.m.