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.
Reporter: Romain Francois / @romainfrancois
Assignee: Romain Francois / @romainfrancois
PRs and other links:
Note: This issue was originally created as ARROW-4560. Please see the migration documentation for further details.
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 fordata, which may be the result of avctrs::vec_c(...)if we do want R type promotion.Reporter: Romain Francois / @romainfrancois
Assignee: Romain Francois / @romainfrancois
PRs and other links:
Note: This issue was originally created as ARROW-4560. Please see the migration documentation for further details.