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

the NA argument in fifelse should support vector #4286

Closed
shrektan opened this issue Mar 7, 2020 · 0 comments · Fixed by #4289
Closed

the NA argument in fifelse should support vector #4286

shrektan opened this issue Mar 7, 2020 · 0 comments · Fixed by #4289
Assignees
Milestone

Comments

@shrektan
Copy link
Member

shrektan commented Mar 7, 2020

data.table::fifelse(c(T, F, NA, T, F, NA), 1:6, 11:16, 101:106)
# Error in data.table::fifelse(c(T, F, NA, T, F, NA), 1:6, 11:16, 101:106) : 
#  Length of 'na' is 6 but must be 1
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 a pull request may close this issue.

3 participants