renderCustomFragments: renderCustomFragments

Description Usage Arguments Value

View source: R/02-templating-class.R

Description

Peform the rendering of subfragments for a given report, should return a list of html fragments to be available to inject into mustach templates

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
renderCustomFragments(reportData)

## S4 method for signature 'derivationchain'
renderCustomFragments(reportData)

## S4 method for signature 'examplereport'
renderCustomFragments(reportData)

## S4 method for signature 'timeseriessummary'
renderCustomFragments(reportData)

Arguments

reportData

typed report json, the type should be the name of the report

Value

vector of rendered HTML fragments that will be included in the data available to the final report template. The fragments will be available to the templates as renderedFragments.html


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