Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch_in_case() doesn't handle NAs properly #183

Closed
jmbarbone opened this issue Apr 22, 2023 · 0 comments · Fixed by #184
Closed

switch_in_case() doesn't handle NAs properly #183

jmbarbone opened this issue Apr 22, 2023 · 0 comments · Fixed by #184
Assignees
Labels
bug 🐛 Something isn't working

Comments

@jmbarbone
Copy link
Owner

Found reviewing #182

library(mark)
switch_in_case(c("a", "b"), "a" ~ "a")
#>    a    b 
#>  "a" "NA"

Created on 2023-04-21 with reprex v2.0.2

@jmbarbone jmbarbone added the bug 🐛 Something isn't working label Apr 22, 2023
@jmbarbone jmbarbone self-assigned this Apr 22, 2023
jmbarbone added a commit that referenced this issue Apr 22, 2023
jmbarbone added a commit that referenced this issue Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant