-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Clarify status of reshape2 #4908
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4908 +/- ##
=======================================
Coverage 99.46% 99.46%
=======================================
Files 73 73
Lines 14414 14414
=======================================
Hits 14337 14337
Misses 77 77
Continue to review full report at Codecov.
|
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.
Thanks Hadley, LGTM
For completeness, I believe that the error message for The dcast generic in data.table has been passed a factor and will attempt to redirect to the reshape2::dcast;
please note that reshape2 is deprecated, and this redirection is now deprecated as well. Please do this
redirection yourself like reshape2::dcast(as.factor(mtcars)). In the next version, this warning will
become an error. I'm not very well versed with the |
I have corrected the typo, and updated all other mentions of reshape2 being deprecated (by grepping for reshape2). |
Thanks @hadley, will merge. Although this PR does touch code files, it's edits to messages, so I won't add you to the contributors list which would make you a copyright holder. There are one or two similar cases in the past so I'll be consistent. Any type of logic change, even just to a single line of R or C code, would be really welcome and I'd add you to contributors list at that point. Btw, our use of the word 'deprecated' derives from your use of the word 'retired' in Dec 2017 here: hadley/reshape@83ef5d2.
To me, that is the definition of deprecation, but I see your #3549 (comment) pointing to https://lifecycle.r-lib.org/articles/stages.html#retired and I see that you have since retired the word retired (footnote 1 in the doc). Would it make sense to update the word 'retired' in https://github.com/hadley/reshape/blob/master/README.md to 'superseded' then? |
@mattdowle I have no expectation of becoming a contributor based on this tiny contribution (which as you say, arises from our own confusion around messaging). I've fixed the reshape2 readme — thanks for pointing that out! |
@hadley I didn't think you had that expectation, sorry I didn't write that very well: I've seen comments from others who wonder why I haven't added you, so I was more documenting for them. And I was taking the opportunity to welcome you and really encourage you to contribute code. |
Minor clarification — reshape2 is not deprecated, and we are committed to keeping it available on CRAN.