generate_template: Generation of a pretty UdderHealthReport template

Description Usage Arguments Value Note

Description

Generates a report template for monitor_SCCUdderHealth from a Sweave-file. The template is internally used by generate_report.

Usage

1
generate_template(template, output = "text", ...)

Arguments

template

A sweave file (.Rnw) to be used as template.

output

One of c("text", "character").

...

Further arguments passed to readLines.

Value

For output = "text" the template is printed notated as string on the console. Then the output can be copied and pasted into a function’s code (for generating the packages default). For output = "character", the result of readLines(template) is returned.

Note

Do not use '' quotes in the template but "" instead.


VZoche-Golob/UdderHealthMonitor documentation built on May 9, 2019, 9:42 p.m.