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

quo() fails to capture certain syntactically valid expressions #652

Closed
egnha opened this issue Oct 7, 2018 · 1 comment
Closed

quo() fails to capture certain syntactically valid expressions #652

egnha opened this issue Oct 7, 2018 · 1 comment
Labels

Comments

@egnha
Copy link
Contributor

@egnha egnha commented Oct 7, 2018

In 0.2.2.9002, the following occurs:

quo(`/`(2))
#> Error in enquo(expr) : bad value

This also occurs for other arithmetic operators (e.g., *), but not all of them (e.g., ^).

Is this a bug?

(This is a rather special occurrence. Nonetheless, I have a DSL where I want to capture, then modify, such expressions, as quosures.)

@lionel- lionel- added the tidyeval label Oct 8, 2018
@lionel- lionel- closed this in 30c80a0 Dec 13, 2018
lionel- added a commit that referenced this issue Dec 13, 2018
@egnha
Copy link
Contributor Author

@egnha egnha commented Jan 20, 2019

@lionel- , thanks for fixing this.

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

Successfully merging a pull request may close this issue.

None yet
2 participants