Skip to content

Conversation

@DavisVaughan
Copy link
Member

@DavisVaughan DavisVaughan commented Sep 30, 2025

#6317 added a size argument to if_else(), but this was a mistake.

The output size of if_else() should always be the condition size, full stop.

I'm prepping to swap in vec_if_else(), but that doesn't have a size argument, so we need to deprecate this in dplyr first.

The good news is that I am fairly confident no one uses this, so I went straight to deprecate_warn() here.

@DavisVaughan DavisVaughan force-pushed the feature/if-else-improvements branch from 4c1ae7f to 9862bd8 Compare September 30, 2025 15:15
@DavisVaughan DavisVaughan merged commit 29d3766 into main Oct 1, 2025
14 checks passed
@DavisVaughan DavisVaughan deleted the feature/if-else-improvements branch October 1, 2025 13:18
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.

3 participants