You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Apache Arrow JIRA Bot (Jira)" <ji...@apache.org> on 2022/10/18 17:52:00 UTC

[jira] [Assigned] (ARROW-12322) [R] Work around masking of data type functions

     [ https://issues.apache.org/jira/browse/ARROW-12322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Arrow JIRA Bot reassigned ARROW-12322:
---------------------------------------------

    Assignee:     (was: Dragoș Moldovan-Grünfeld)

> [R] Work around masking of data type functions
> ----------------------------------------------
>
>                 Key: ARROW-12322
>                 URL: https://issues.apache.org/jira/browse/ARROW-12322
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Ian Cook
>            Priority: Minor
>
> 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:
> {quote}Error in is_integerish\(x\) : argument "x" is missing, with no default
> {quote}
> This can be worked around with some non-standard eval magic.
> I implemented a working version of this in [https://github.com/apache/arrow/pull/9952] but we removed it before merging that PR because there were questions about whether there was a better way to implement it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)