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

Comments

@piccolbo
Copy link

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 wch closed this in fd0e467 Aug 4, 2015

@wch

This comment has been minimized.

Copy link
Member

commented Aug 4, 2015

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

@piccolbo

This comment has been minimized.

Copy link
Author

commented Aug 4, 2015

Problem solved. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.