jonkeane commented on code in PR #43498:
URL: https://github.com/apache/arrow/pull/43498#discussion_r1699078488


##########
r/R/dplyr-eval.R:
##########
@@ -201,7 +201,12 @@ try_arrow_dplyr <- function(expr) {
   parent <- caller_env()
   # Make sure that the call is available in the parent environment
   # so that we can use it in abandon_ship, if needed
-  evalq(call <- match.call(), parent)
+  # (but don't error if we're in some weird context where we can't get the 
call,
+  # which could happen if you're code-generating or something?)

Review Comment:
   I think I convinced myself the PR is documentation enough while writing that 
comment 😂 Describing code-gen should be a good flag too anyway



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to