-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
if_else produce unnecessary warning in mutate #6877
Comments
I could have sworn this behavior was explicitly mentioned in the documentation (and for Edit: Ah, here is what I recalled in |
|
This is by design, and see the documentation:
For more discussions, see also #3637. In light of this, I think this issue should be closed. |
As others have said, the fact that
|
the function
if_else
combined withmutate
will produce warnings which are not appropriate.Consider
foo
to beNow, I want to log-transform the exponential part.
This produces the desired output but will give a warning
even though there is no NaN in
bar
.The text was updated successfully, but these errors were encountered: