Skip to content

Commit

Permalink
Retrospective NEWS bullet for #6730
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Feb 22, 2023
1 parent bde63e2 commit 0db2cb2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ package, bringing greater consistency and improved performance.
`if_else()` now takes the common type of `true`, `false`, and `missing` to
determine the output type, meaning that you can now reliably use `NA`,
rather than `NA_character_` and friends (#6243).

`if_else()` also no longer allows you to supply `NULL` for either `true` or
`false`, which was an undocumented usage that we consider to be off-label,
because `true` and `false` are intended to be (and documented to be) vector
inputs (#6730).

* `na_if()` (#6329) now casts `y` to the type of `x` before comparison, which
makes it clearer that this function is type and size stable on `x`. In
Expand Down

0 comments on commit 0db2cb2

Please sign in to comment.