Skip to content

[R] Add a type method for Expression  #31164

Description

@asfimport

This would allow for more consistent syntax when extracting the type of an expression.

A block like this:

if (inherits(x, "Expression")) { 
class <- x$type()$ToString() 
} else { 
class <- type(x)$ToString() 
}

would be simplified to

class <- type(x)$ToString()

Reporter: Dragoș Moldovan-Grünfeld / @dragosmg
Assignee: Dragoș Moldovan-Grünfeld / @dragosmg

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-15712. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions