MichaelChirico commented on PR #50015:
URL: https://github.com/apache/arrow/pull/50015#issuecomment-4511207416

   OK, I managed to install with `cmake` finally. I adapted the original bug 
report given the update in arrow API, please double-check it's done faithfully:
   
   ```r
   # NB: IIUC, as_vector() and/or arrow_array() will
   #   not retain 64-bit representation of the original 1:10,
   #   so force that with a non-32-bit input
   x = lim.integer64()
   a <- arrow_array(x)
   a$as_vector()
   # integer64
   # [1] -9223372036854775807 9223372036854775807 
   detach("package:bit64", unload = TRUE)
   # Warning message:
   # ‘bit64’ namespace cannot be unloaded:
   #   namespace ‘bit64’ is imported by ‘arrow’ so cannot be unloaded 
   ```
   
   Is it recommended to put this in a test? The most natural way to do so would 
be a new file in r/tests reproducing the above -- I am a bit loath to put a 
`detach()` in the testthat suite. WDYT?


-- 
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