Open adamsardar opened 4 years ago
Essentially, we could prepare functions separately to the main class and then use R's environment mechanism to hook them in. Would also allow for testing.
In fact, according to AdvancedR one can use S3 methods on R6 objects via the classname.
R6 allows this through use of $set on the class definition
I think that this would improve readability