report_from_template: Fill in a template document with current code

Description Usage Arguments

Description

Uses knitr's knit_expand to expand whisker elements. Always fills in a whiskered parameter ".code" with the stateful server code necessary to generate outputs.

Usage

1
2
report_from_template(template, server, ..., dots = list(),
  envir = parent.frame())

Arguments

template

a whiskered (" ... ") knitr template

server

the server function of the caller

...

additional list to fill in to knitr template

dots

additional list to fill in to knitr template

envir

environment in which code should be generated


dgkf/scriptgloss documentation built on June 8, 2019, 8:43 p.m.