-
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
Modernize ?setkey; and tackle long-deprecated functions #3399
Conversation
why not keep it for 2 more years? |
…a.table into setkey_man_update
Codecov Report
@@ Coverage Diff @@
## master #3399 +/- ##
==========================================
- Coverage 95.11% 95.11% -0.01%
==========================================
Files 65 65
Lines 12118 12113 -5
==========================================
- Hits 11526 11521 -5
Misses 592 592
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3399 +/- ##
=======================================
Coverage 95.09% 95.09%
=======================================
Files 65 65
Lines 12301 12301
=======================================
Hits 11698 11698
Misses 603 603
Continue to review full report at Codecov.
|
Indeed, why not keep it indefinitely? One thing I notice helping out people with R is that there is a very large tail of users who might use R once or twice a year and there are many users who use it only once. All they know is 'this is an R script which does X, run it if you want X'. They have no hope of recovering from errors like these. I think intervening with an new error is good if it avoids unexpected behaviour (i.e. a bug), but with everything else let sleeping dogs lie. This is especially so with |
Base R is known for its backward compatibility. Why not to align to such strategy? Think about blog posts from where people will just try to copy paste code. StackOoverflow we could easily find and update, but there is not really need for that. Warnings are OK because they will still produce final outcome. |
I think we should move But for
(emphasis mine) Deprecation means eventually that functionality will be removed completely. I think 3 years is plenty "eventual". |
good to put |
Good idea to clear these things up. We should clear the technical debt at some point as it does add to the maintenance burden. I don't know how well The past communication in NEWS should drive these things. From v1.11.0 on CRAN May 2018 (less than a year ago) :
One year from then would be May 2019. So now is too early for that reason. |
@MichaelChirico Just been going through |
Towards #2572
git blame
onsetkey.R
showsset2key
hasn't been changed in 3 years, andkey<-
in 4 years.I think we can safely delete these finally, and strip all but the historical reference from the documentation; that's done in this PR