[ https://issues.apache.org/jira/browse/ARROW-10089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-10089: ------------------------------------ Summary: [R] inject base class for Array, ChunkedArray and Scalar (was: inject base class for Array, ChunkedArray and Scalar) > [R] inject base class for Array, ChunkedArray and Scalar > -------------------------------------------------------- > > Key: ARROW-10089 > URL: https://issues.apache.org/jira/browse/ARROW-10089 > Project: Apache Arrow > Issue Type: Improvement > Components: R > Reporter: Romain Francois > Priority: Minor > > Related to comment > [https://github.com/apache/arrow/pull/8256#discussion_r494402171] > There's a bunch of these : > #' @export > sum.Array <- function(..., na.rm = FALSE) scalar_aggregate("sum", ..., na.rm > = na.rm) > #' @export > sum.ChunkedArray <- sum.Array > #' @export > sum.Scalar <- sum.Array > and having a empty base class between these and ArrowObject would help, we > would only have one function and let S3 do its thing -- This message was sent by Atlassian Jira (v8.3.4#803005)