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

overriding [[ for R6 class breaks print #70

Closed
piccolbo opened this issue Aug 4, 2015 · 2 comments
Closed

overriding [[ for R6 class breaks print #70

piccolbo opened this issue Aug 4, 2015 · 2 comments

Comments

@piccolbo
Copy link

@piccolbo piccolbo commented Aug 4, 2015

because this R6 class represent a collection with its own contents, but the print method loops over obj_names and then passes each of them to [[. I know I can override print and it's already planned, but if I were fine with the default print, is there a way to avoid this? And is this an isolated instance or am I going to break other things?

@wch
Copy link
Member

@wch wch commented Aug 4, 2015

I just pushed a fix. Can you test it out and report back? Thanks!

Loading

@piccolbo
Copy link
Author

@piccolbo piccolbo commented Aug 4, 2015

Problem solved. Thanks

Loading

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

Successfully merging a pull request may close this issue.

None yet
2 participants