Learn R Programming

rapport (version 1.1)

rapport.header: Template Header

Description

Returns rapport template header from provided path or a character vector.

Usage

rapport.header(
  fp,
  open.tag = get.tags("header.open"),
  close.tag = get.tags("header.close"),
  ...
)

Arguments

fp

a template file pointer (see rapport:::rapport.read for details)

open.tag

a string with opening tag (defaults to value of user-defined "header.open" tag)

close.tag

a string with closing tag (defaults to value of user-defined "header.close" tag)

...

additional arguments to be passed to grep function

Value

a character vector with template header contents