View Templates

Share:

Description

View all the reports package templates.

Usage

1
  templates(print.cons = TRUE, names = TRUE)

Arguments

print.cons

logical. If TRUE The template information id printed to the console.

names

logical. If TRUE only the names of the templates will be returned.

Details

This function prints (via cat) to the console to view possible templates (feel free to submit your own; see doc_temp for details) as well as optionally returning a vector of names that the user can pass to other functions.

See Also

doc_temp

Examples

1
2
3
4
5
6
## Not run: 
templates()
templates(FALSE)
new_report("new", templates(FALSE)[4])

## End(Not run)