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
I think this message is still confusing and would be more clear if the grouping message was about the output and it explicitly stated .groups is an argument in summarize(), e.g.,
The output is grouped by `vs`. You can specify grouping structure of the output using the `.groups` argument in `summarize()`.
If going this route some things to keep in mind:
Maybe "result" instead of "output" in two places in the message, or change the description of the .groups argument to say "Grouping structure of the output." Basically, we should match what we're calling the "thing" that the function spits out.
It would be a nice-to-have if US/UK spelling of the function in the message matched what the spelling in the code that generates the message.
Currently this is the message dplyr emits for
summarize()
aftergroup_by()
with multiple variables.Created on 2024-01-29 with reprex v2.0.2
I think this message is still confusing and would be more clear if the grouping message was about the output and it explicitly stated
.groups
is an argument insummarize()
, e.g.,If going this route some things to keep in mind:
.groups
argument to say "Grouping structure of the output." Basically, we should match what we're calling the "thing" that the function spits out.An alternative suggestion by @DavisVaughan was
I think this is an improvement over the current message too, but I'd suggest going with something simpler like the one above.
The text was updated successfully, but these errors were encountered: