Skip to content

Conversation

@teunbrand
Copy link
Collaborator

This PR aims to fix #5632.

As the title suggests, this PR adds a drop = TRUE to a split() that could return a list with 0-length elements in it. With drop = TRUE, those 0-length elements are absent and the calculation proceeds without warnings.

@teunbrand teunbrand added this to the ggplot2 3.5.0 milestone Jan 8, 2024
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand teunbrand merged commit 5bfecd2 into tidyverse:rc/3.5.0 Jan 12, 2024
@teunbrand teunbrand deleted the bar_split_drop branch January 12, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants