When defining a template, you can use this method as a drop-in for the unknown number of rows that the user selects

nr_of_rows()

Value

a delayed expression for the number of rows

Examples

template_integer(1, nr_of_rows())
#> integer vector template #> - values between 1 and nr_of_rows()