Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4560

[R] array() needs to take single input, not ...

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • R

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              romainfrancois Romain Francois
              romainfrancois Romain Francois
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m