Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update `case_when()` to use `vec_case_when()` * Update internal usage of `case_when()` to use `.default` * NEWS bullet * Update NEWS.md Co-authored-by: Lionel Henry <lionel.hry@gmail.com> * Clarify usefulness of LHS/RHS recycling * Make two sided formula check a special case for better error reporting * Actually generate the new snapshots in `test-vec-case-when.R` * Use `as_label()` instead of custom deparser * Restructure `list_names()` as `names_as_error_names()` * Use `n_processed` over ambiguous `n_used` * Use better variable name for unused locations * Allow `vec_case_when()` to own its errors since it might be user facing * Mention how to handle `NA` behavior yourself Hints at the fact that this has to be tailored to your specific usage of `case_when()`, making it hard to generalize (like with a `.missing` argument) Co-authored-by: Lionel Henry <lionel.hry@gmail.com>
- Loading branch information