Create a nugget object of given flavour
Usage
nugget(x, flavour, call_function, call_args)
Arguments
- x
an object with rules, typically a tibble or a data frame.
- flavour
a character string specifying the flavour of the nugget or NULL.
- call_function
a function name that created the nugget.
- call_args
a list of function arguments that were used to create the nugget.
Value
A nugget object of the specified flavour, i.e., a tibble object that is
a subclass of flavour
and nugget
classes.