[ 
https://issues.apache.org/jira/browse/ARROW-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661582#comment-17661582
 ] 

Rok Mihevc commented on ARROW-4560:
-----------------------------------

This issue has been migrated to [issue 
#21107|https://github.com/apache/arrow/issues/21107] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [R] array() needs to take single input, not ...
> -----------------------------------------------
>
>                 Key: ARROW-4560
>                 URL: https://issues.apache.org/jira/browse/ARROW-4560
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Romain Francois
>            Assignee: Romain Francois
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> The `array()` factory takes `...` and this makes this harder than it needs to 
> be because then we have two competing views on type: 
>  - `vctrs::vec_c(.ptype=)` which uses R specific typing system
>  - the arrow type 
>  
> So `array()` should really take a single thing for `data`, which may be the 
> result of a `vctrs::vec_c(...)` if we do want R type promotion. 



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

Reply via email to