-
Notifications
You must be signed in to change notification settings - Fork 133
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
Breaking off tabyl and adorn_ into their own package? #240
Comments
It seems to me that having separate |
I agree. When I think of |
I also agree that they feel separate. The cleaning functions seem like they fit the name |
I am on board with this. @juba glad you asked as this is still my biggest mental obstacle: what to call the new package & the main function (currently What behavior should happen? I guess calls to I don't know that I like "tidytable" or "ttable", I'm just using those as examples. If janitor didn't exist I'd call the package and function |
For the mechanics of splitting, I think that there are two good options: Drop the functions from Drop the functions from In my opinion, the best method is to do both of the above at the beginning. Then some time later, stop reexporting. Then some time later, drop the message. |
I think I agree with @billdenney suggestion. With this solution you don't duplicate the |
@sfirke, I was thinking of generating the separate packages soon. The process I was thinking of is:
The asks for you in this process would be:
Edit with a suggestion: There are a few deprecated functions. I'd suggest that those be made defunct with this major change to the package. |
Love it, will do those two things. Might put the triaged issues into a
Google doc or something if needed.
Would you like to be the maintainer of the tabyl package from the
beginning? You would have final say and handle CRAN submission. I can
advise but I think the momentum sits with you and I'd feel good handing off
the torch officially.
…On Thu, Aug 8, 2019, 4:25 PM Bill Denney ***@***.***> wrote:
@sfirke <https://github.com/sfirke>, I was thinking of generating the
separate packages soon. The process I was thinking of is:
- Triage all current pull requests so that the split can be clean.
- Make two branches-- one that is janitor-only and one that is
tabyl-only
- Push the new tabyl-only repository into a new repository (it looks
like that would be simple, and you'd keep the full history:
https://stackoverflow.com/questions/2227062/how-do-i-move-a-git-branch-out-into-its-own-repository
)
- Push the new tabyl repository to CRAN ASAP so that the reimport
would be straight-forward.
- Once the new tabyl package was on CRAN, push the new janitor package
(2.0?) to CRAN.
The asks for you in this process would be:
- Could you please triage the PRs?
- Could you please create a new tabyl repository?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#240?email_source=notifications&email_token=ABZYDEGFUGQEX2C62E2TJNDQDR6LFA5CNFSM4FWRX372YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34ZUNY#issuecomment-519674423>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABZYDEAANI4GW65L5QTDJIDQDR6LFANCNFSM4FWRX37Q>
.
|
Also, if there would ever be a time to change the name of this function,
this would be it. That might almost make the transition easier in terms of
namespace clashes.
I have thought a lot about the function name, and asked others, and never
found one I like better. But I still think this name "tabyl" is imperfect
and something better is possible.
…On Sat, Aug 10, 2019, 1:39 PM Sam Firke ***@***.***> wrote:
Love it, will do those two things. Might put the triaged issues into a
Google doc or something if needed.
Would you like to be the maintainer of the tabyl package from the
beginning? You would have final say and handle CRAN submission. I can
advise but I think the momentum sits with you and I'd feel good handing off
the torch officially.
On Thu, Aug 8, 2019, 4:25 PM Bill Denney ***@***.***> wrote:
> @sfirke <https://github.com/sfirke>, I was thinking of generating the
> separate packages soon. The process I was thinking of is:
>
> - Triage all current pull requests so that the split can be clean.
> - Make two branches-- one that is janitor-only and one that is
> tabyl-only
> - Push the new tabyl-only repository into a new repository (it looks
> like that would be simple, and you'd keep the full history:
> https://stackoverflow.com/questions/2227062/how-do-i-move-a-git-branch-out-into-its-own-repository
> )
> - Push the new tabyl repository to CRAN ASAP so that the reimport
> would be straight-forward.
> - Once the new tabyl package was on CRAN, push the new janitor
> package (2.0?) to CRAN.
>
> The asks for you in this process would be:
>
> - Could you please triage the PRs?
> - Could you please create a new tabyl repository?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#240?email_source=notifications&email_token=ABZYDEGFUGQEX2C62E2TJNDQDR6LFA5CNFSM4FWRX372YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34ZUNY#issuecomment-519674423>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABZYDEAANI4GW65L5QTDJIDQDR6LFANCNFSM4FWRX37Q>
> .
>
|
There is lots to say here:
|
I'm a huge fan of {janitor} and would support the conscious uncoupling of I'd like to suggest the package name {tidytab} and function name
I had previously contributed to {statar} where we also implemented pretty printing of tables in the R console, but I eventually built my own package since I think there's quite a bit of additional table-specific functionality that I would like to see. I would be happy to help with the effort. |
There are a few open issues suggesting improvements to
adorn_
functions like having them use thedplyr::select
helpers to specify columns. I think those should be addressed as part of a broader rethinking of the tabyl API. And once that's on the table, I've come to agree that tabyl and its friends belong in their own package. janitor can be purely for data cleaning and focus on new functions like #50.Note: I have seen dreams discussed of a "grammar of tables" package, I hope someone builds that package but
tabyl
will still just focus on counts and things you do to tables of counts.Before making a new repo and going down that path: what do people think? What's most weighing on my mind is, if someone wants to load janitor and together, would we need to rename tabyl and its friends to avoid namespace conflicts? Naming things is hard 😩
The text was updated successfully, but these errors were encountered: