Runs each template's body with its example, and again with one
parameter at a time changed, and looks which items change with it: a
parameter that changes the look (the rows a page, column widths, the
digits, the blank rows, the style, a listing's type) is listed.
tflspec's own templates have none; a company's package tests its own
with it (one line in its tests, tfl_use_company_templates()).
Usage
tfl_test_templates(names = NULL)
Arguments
- names
The templates; NULL: every one registered.
Value
A data frame, one row a parameter that ends in the look
(status "look": param, and the verb fn and argument arg it
ends in) or a template whose run stopped ("not checked: ..."):
template, param, fn, arg, status. No rows: none.
Examples
tfl_test_templates("demog")
#> [1] template param fn arg status
#> <0 rows> (or 0-length row.names)