You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tidylog has been hugely helpful for me in my data analysis workflows (thank you!). However, its masking of tidyr and dplyr functions using ... notation means that I can no longer use RStudio auto-complete for function arguments, or hover over the function name to see the arguments.
I used to use this all the time with pivot_wider and pivot_longer where I always forget names_to vs names_from, for example. Now in order to do this I have to explicitly type tidyr::pivot_wider( to start the autocomplete or search for the help.
Is there a way to perform the masking without replacing the help functionality?
The text was updated successfully, but these errors were encountered:
This came up before: #44. Unfortunately, I don't think there is a good solution for this. Tidylog could copy over the complete function signature from dplyr/tidyr, but that would be a nightmare to maintain.
What would you think about copying the signature specifically for pivot_wider and pivot_longer as I think those are the ones which I would use the most. I would happily submit the PR for that (should be trivial).
The problem with that approach is that if the signature of these functions ever changes, then the tidylog signature might be different from the signature that is actually in the function - and that would be a big mess. So unfortunately I still don't really have a good idea of how to solve this.
tidylog
has been hugely helpful for me in my data analysis workflows (thank you!). However, its masking oftidyr
anddplyr
functions using...
notation means that I can no longer use RStudio auto-complete for function arguments, or hover over the function name to see the arguments.I used to use this all the time with
pivot_wider
andpivot_longer
where I always forgetnames_to
vsnames_from
, for example. Now in order to do this I have to explicitly typetidyr::pivot_wider(
to start the autocomplete or search for the help.Is there a way to perform the masking without replacing the help functionality?
The text was updated successfully, but these errors were encountered: