You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Dec 22, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This fails (if I use
funs()
instead of~
, it works):The error comes from here: https://github.com/tidyverse/dbplyr/blob/81419cab7d831e5a9d7e4279a4f893fa5750e8a1/R/tbl-lazy.R#L124
The root cause seems that
partial_eval()
won't accept expressions that generate a function in-place:Another example here:
The fix would probably come around here, but I didn't come up with the proper way of distinguishing the expression that generates function or not.
https://github.com/tidyverse/dbplyr/blob/ae86fb351bf3511aa73f622946db3a9ed7469fc4/R/partial-eval.r#L96
The text was updated successfully, but these errors were encountered: