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

NULL guard? (if (NULL) x <- 1 results in x <-1 #14

Open
edwindj opened this issue Apr 26, 2021 · 1 comment
Open

NULL guard? (if (NULL) x <- 1 results in x <-1 #14

edwindj opened this issue Apr 26, 2021 · 1 comment
Labels

Comments

@edwindj
Copy link
Member

edwindj commented Apr 26, 2021

Not sure if this is intended behavior, bug or feature?

library(dcmodify)
modify_so( data.frame(x = 10)
         , if (NULL)  x <- 1
         )
##   x
## 1 1
@markvanderloo
Copy link
Member

I may have intended it at some point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants