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

Only attempt to print if x is a suitable data.table #841

Closed
wants to merge 1 commit into from

Conversation

jeffreyhorner
Copy link

Fixes #832 by only attempting to print suitable data.tables, e.g. those that satisfy class(unclass(x)) == 'list'.

@arunsrinivasan
Copy link
Member

@jeffreyhorner nice fix. Looks great!
Could you change the error message to be slightly more informative?

Perhaps: "Internal structure doesn't seem to be a list. Possibly corrupt data.table." ?? or something similar?

@jeffreyhorner
Copy link
Author

I'd be happy to but I won't be able to get to it until the end of next
week. Feel free modify it at will if you like.
On Oct 3, 2014 4:11 AM, "Arun" notifications@github.com wrote:

@jeffreyhorner https://github.com/jeffreyhorner nice fix. Looks great!
Could you change the error message to be slightly more informative?

Perhaps: "Internal structure doesn't seem to be a list. Possibly corrupt
data.table." ?? or something similar?


Reply to this email directly or view it on GitHub
#841 (comment).

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