-
Notifications
You must be signed in to change notification settings - Fork 990
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
prevent setDT on data.frame with matrix columns #3770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine, only address tests failure
@jangorecki can you think of any other types of validations we'd want to do upfront here? if so maybe best to have a |
looking for If we change this to route this case to
So I gave up on that route; the one here does fine. Just recording my thoughts for posterity. |
Codecov Report
@@ Coverage Diff @@
## master #3770 +/- ##
==========================================
+ Coverage 99.41% 99.41% +<.01%
==========================================
Files 71 71
Lines 13222 13225 +3
==========================================
+ Hits 13145 13148 +3
Misses 77 77
Continue to review full report at Codecov.
|
Closes #3760
Closes #2936
Not sure this is an ideal solution, but it works & indeed
as.data.table
is the appropriate function for such objects.Also realizing this catches #2936 from getting to the point where it would have segfaulted (doesn't segfault anymore)