Skip to content

[R] Work around masking of data type functions #28123

@asfimport

Description

@asfimport

There are more than two dozen data type functions in the arrow package, and they are named very generically, so they represent a large surface area for potential masking problems, which are likely to occur in user environments, not in our CI. If these masking errors do occur, they will probably give frustratingly unhelpful error messages. This happened to me with rlang::string(). The error was:

Error in is_integerish(x) : argument "x" is missing, with no default
This can be worked around with some non-standard eval magic.

I implemented a working version of this in #9952 but we removed it before merging that PR because there were questions about whether there was a better way to implement it.

Reporter: Ian Cook / @ianmcook

Related issues:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions