Create a new ClassDefinition in R.
Arguments
- .classname
The name of the class.
- ...
The fields and methods of the class definition, supplied as pairs of names and types using the := operator.
- .validate
Whether to validate the class attributes. Note: setting this to
FALSE
gives a slight performance boost.