counter_init {tarchetypes} | R Documentation |
Counter constructor.
Description
Not a user-side function. Do not invoke directly.
Usage
counter_init(names = NULL)
Arguments
names |
Character vector of names to add to the new counter. |
Details
Creates a counter object as described at https://books.ropensci.org/targets-design/classes.html#counter-class.
Value
A new counter object.
Examples
counter <- counter_init()
counter_set_names(counter, letters)
[Package tarchetypes version 0.11.0 Index]