[
https://issues.apache.org/jira/browse/ARROW-15712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dragoș Moldovan-Grünfeld updated ARROW-15712:
---------------------------------------------
Summary: [R] Add a type method for Expression (was: [R] Add a {{type}}
method for {{Expression}} )
> [R] Add a type method for Expression
> -------------------------------------
>
> Key: ARROW-15712
> URL: https://issues.apache.org/jira/browse/ARROW-15712
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Dragoș Moldovan-Grünfeld
> Priority: Major
>
> This would allow for more consistent syntax when extracting the type of an
> expression.
> A block like this:
> {code:r}
> if (inherits(x, "Expression")) {
> class <- x$type()$ToString()
> } else {
> class <- type(x)$ToString()
> }
> {code}
> would be simplified to
> {code:r}
> class <- type(x)$ToString()
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)