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

Function translations replace column names #4

Closed
ianmcook opened this issue Aug 31, 2019 · 1 comment
Closed

Function translations replace column names #4

ianmcook opened this issue Aug 31, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@ianmcook
Copy link
Owner

Currently the translate_direct replaces columns with names that match function names.

parse_expression("month = 12", T)
#lubridate::month == 12

To fix this, do not call substitute directly in translate_direct. Instead call a function that calls substitute only on functions (the parent element of a call).

@ianmcook ianmcook added the bug Something isn't working label Aug 31, 2019
@ianmcook
Copy link
Owner Author

Fixed in 4a0d167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant