Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore the use of purr's functions #12

Open
adamsardar opened this issue Oct 11, 2019 · 3 comments
Open

Explore the use of purr's functions #12

adamsardar opened this issue Oct 11, 2019 · 3 comments

Comments

@adamsardar
Copy link
Owner

I think that this would improve readability

@adamsardar
Copy link
Owner Author

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.

@adamsardar
Copy link
Owner Author

In fact, according to AdvancedR one can use S3 methods on R6 objects via the classname.

@adamsardar
Copy link
Owner Author

R6 allows this through use of $set on the class definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant