generate_report: Generation of a pretty UdderHealthReport

Description Usage Arguments Value

Description

Used inside monitor_SCCUdderHealth. Generates a pretty UdderHealthReport using a template.

Usage

1
generate_report(outfile, useEnvir, usertemplate = NULL, replace = NULL)

Arguments

outfile

A string defining the output file with complete path.

useEnvir

The environment in which the code chunks are to be evaluated by knit2pdf.

usertemplate

An appropriate Sweave file containing the template for the report. See ‘extdata/MLPUdderHealthReport.Rnw’ as example. If NULL, the default template created from ‘extdata/MLPUdderHealthReport.Rnw’ is used.

replace

A named character vector containing the replacements for the wildcards (|TMPwildcard{name}|) in the template. The names of replace are searched for in the wildcard names.

Value

Invisible TRUE.


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