paleolimbot commented on a change in pull request #12432:
URL: https://github.com/apache/arrow/pull/12432#discussion_r815899633
##########
File path: r/R/arrow-datum.R
##########
@@ -70,13 +70,50 @@ as.vector.ArrowDatum <- function(x, mode) {
#' @export
Ops.ArrowDatum <- function(e1, e2) {
Review comment:
Good catch! I had fixed unary + and - but forgot to add a test.
``` r
-(arrow::Array$create(1))
#> Error in eval_array_expression(.Generic, e1, e2): argument "e2" is
missing, with no default
+(arrow::Array$create(1))
#> Error in eval_array_expression(.Generic, e1, e2): argument "e2" is
missing, with no default
```
--
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]