-
Notifications
You must be signed in to change notification settings - Fork 995
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
Remove reshape2 suggest #3081
Remove reshape2 suggest #3081
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3081 +/- ##
==========================================
+ Coverage 90.86% 90.88% +0.02%
==========================================
Files 61 61
Lines 11808 11804 -4
==========================================
- Hits 10729 10728 -1
+ Misses 1079 1076 -3
Continue to review full report at Codecov.
|
S3method(anyDuplicated, data.table) | ||
|
||
export(split.data.table) |
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.
is this really required? this was exported in 1.11.6 #2920 as per user request in a comment somewhere. As it is very recent it won"t break much code, but NEWS entry would be useful.
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.
A comment next to it explaining why and when exported would have been good because it"s not proper to do so in addition to the S3method(split, data.table) which is still there. Should we consider exporting all methods for base generics as well as registering them?
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.
Added a news item to 1.11.8 : #3083
Closes #3080
Completes final item in #2740
Added comments to the top of
fmelt.c
as to why we don"t importreshape2
(R dependency inheritance)melt
is generic inreshape2
so I"m not sure why we were explicitly calling itdcast
dispatches non-data.table to non-genericreshape2::dcast
the same as before, but with a more helpful message ifreshape2
is not installed.Tidied NAMESPACE. There were a few methods explicitly exported which didn"t need to be since S3method already exports the method. This leaves just one use of the new delayed S3method registration, for
xts
.The
as.Date
method has another twist in thatzoo::as.Date
masksbase::as.Date
and they are both generic.