paleolimbot commented on pull request #11850:
URL: https://github.com/apache/arrow/pull/11850#issuecomment-991097964


   Ok! This now works:
   
   ``` r
   library(arrow, warn.conflicts = FALSE)
   (arr <- Array$create(as.difftime(123, units = "secs")))
   #> Array
   #> <time32[s]>
   #> [
   #>   00:02:03
   #> ]
   as.vector(arr)
   #> Time difference of 123 secs
   ```
   
   <sup>Created on 2021-12-10 by the [reprex 
package](https://reprex.tidyverse.org) (v2.0.1)</sup>
   
   I haven't implemented the `lubridate::duration()` translation because it 
seems out of scope for this set of changes but could also include it with this 
PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to