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

vec_equal_na / vec_detect_missing and NA #1843

Closed
ilikegitlab opened this issue May 31, 2023 · 1 comment
Closed

vec_equal_na / vec_detect_missing and NA #1843

ilikegitlab opened this issue May 31, 2023 · 1 comment

Comments

@ilikegitlab
Copy link

coalesce broke in my code since NA for list is now NULL. Although I can see where this coming from, lost of other R code (as.list(vector) in my case) is not converting NA to null, so its quite unfortunate. NA in lists are a real thing that people might want to check for (and coalesce). Would be great to get that functionality back.

@DavisVaughan
Copy link
Member

We have been pretty happy with NULL as the missing value for lists and don't see that changing, so I think you'll need to come up with another solution. dplyr::case_match() may help.

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

No branches or pull requests

2 participants