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

Is it possible to detect data-masked base::eval() frames on quosure evaluation? #566

Closed
lionel- opened this issue Aug 13, 2018 · 1 comment
Labels

Comments

@lionel-
Copy link
Member

lionel- commented Aug 13, 2018

Would make quosures compatible with eval(expr, data, env).

Wouldn't work if the data mask is created before the eval call and passed as an environment, e.g. eval(expr, env).

For those cases, we could provide a small util or some convention to make any base R datamasking API compatible with quosures and tidy eval (or should this be in R core?).

@lionel-
Copy link
Member Author

lionel- commented Mar 29, 2021

Wouldn't work if the data mask is created before the eval call and passed as an environment, e.g. eval(expr, env).

I think that makes the idea a bit unappealing.

@lionel- lionel- closed this as completed Mar 29, 2021
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

1 participant