-
Notifications
You must be signed in to change notification settings - Fork 50
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
Consider exporting %>%
#838
Comments
what about "|>" |
This is definitely an option but note it's available only starting from R 4.1. How about the users with R <4.1. |
For me it is fine to add either but I think the second ( |
Just to clarify: you don't have to export |
a lot of changes indeed. but i think we should move towards higher version of "R" anyway. |
I agree, but you can use |
This is a big decision. IMHO too risky right now. I have observed that in the pharma field centrally managed R environments is not rare and these typically adapt at relatively slow pace. In my opinion this is too risky. |
ok, i think we can do "|>" for teal families, as teal's R dependency is already at 4.0 but we can leave the static output ones a bit behind, (including tern) eventually, when making cards an upstream dependencies of tern, we will switch |> for tern, the rest can stay %>% for a bit longer |
I'm personally not a fan of adding dplyr/magrittr as an explicit dependency (required for re-export). I'm also not a fan of re-exporting symbols in general as it muddies the waters of where something comes from and where users should go for help on it, etc. dplyr is already in the suggests, and virtually everyone will have it installed already. just my 2c |
I would honestly close this while waiting for getting native pipes in "|>". Feel free to reopen once you think again this is current |
It seems that using pipe (whether it is base or the one coming from magrittr) is practically unavoidable when using
rtables
. Please consider exporting it out of package namespace to save library calls on the end-user side.The text was updated successfully, but these errors were encountered: