Creation object R6 in relation with R6 reference object class declared in function argument

object_r6(class_name, ...)

Arguments

class_name

(character) Name of the R6 reference class.

...

(empty, list or R6 object) Leave empty if you want to initialise the object or provide one or several item to add in the class.

Value

A R6 reference object.