romainfrancois opened a new pull request #8256:
URL: https://github.com/apache/arrow/pull/8256


   call_function() internally unbox to the right R6 class. 
   
   This probably needs some more work, e.g. not sure how to deal with this 
function: 
   
   ```r
   .guess_result_class <- function(arg) {
     # HACK HACK HACK delete this when call_function returns an ArrowObject 
itself
     if (inherits(arg, "ArrowObject")) {
       return(class(arg)[1])
     } else if (inherits(arg, "array_expression")) {
       return(arg$result_class)
     } else {
       stop("Not implemented")
     }
   }
   ```
   
   


----------------------------------------------------------------
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.

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


Reply via email to