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?
to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Also add ``%?% <- function(x, y) if (length(x) > 0) y ? (inspired by C# ?. operator)
<- function(x, y) if (length(x) > 0) y
Sorry, something went wrong.
Don't need exact equivalent because NULL$a$b$c$d is ok - since R already has "safe" navigation, maybe the variant should throw an error if the value is not available?
Plus vectorised version for ifelse(is.na(category), "Miscellaneous", category) - that's mostly already handled by tidyr::replace_na() ?
ifelse(is.na(category), "Miscellaneous", category)
Fixed in 9b1c44b
Successfully merging a pull request may close this issue.