What the heck does `summarise()` ungrouping output (override with `.groups` argument) mean?

Ever been using R and gotten this message?

`summarise()` ungrouping output (override with `.groups` argument)

What the heck does it mean?

This is not an error. It’s just R’s way (the dplyr package specifically) of telling you what is happening with your data.

Here’s a quick explanation of what this message is all about and how to avoid it.

Hope that helps! Just a heads up that newer versions of the dplyr package dropped this behavior. So if you never see the `summarise()` ungrouping output (override with `.groups` argument) count yourself lucky!

Want articles like this in your email? Sign up for the R for the Rest of Us newsletter.

Have any questions? Put them below. David or Charlie Hadley will help you out!