startTemplatedRender: Starting point for template based rendering, this will load...

Description Usage Arguments Value

View source: R/utils-render.R

Description

this function orchestrates the creation of the html reports using whisker, the final result is written to a file, and that file name is returned.

Usage

1
startTemplatedRender(reportJson, author)

Arguments

reportJson

data coming in to create the report, this needs to be typed and that type needs to have the "renderFragments" function defined for it. The type will also be the name of the report.

author

string to identifier for person calling report

Value

the html file and other report bits


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.