Conversation
|
That looks great. I could turn on the big bad rev.dep machine but I am not even sure it's needed. |
eddelbuettel
left a comment
There was a problem hiding this comment.
This looks good -- test on entry is the way to go. There might as always be other code paths but this is at a minimum a start if not even a solid 'squash' of that bug.
|
Are we sure I'm also fairly certain the actual issue here comes from this bit of cruel code. |
|
Perhaps we can return Or, alternatively -- instead of using I just hate the idea of this zero-length check becoming necessary. :| |
Closes #1461. This happens because this returns
0x1for empty vectors. The question is whether we should do the same check in here. I think we should.Checklist
R CMD checkstill passes all tests