pitrou commented on a change in pull request #7455: URL: https://github.com/apache/arrow/pull/7455#discussion_r441038280
########## File path: r/tests/testthat/test-Array.R ########## @@ -385,6 +385,14 @@ test_that("Array<int8>$as_vector() converts to integer (ARROW-3794)", { expect_equal(a$as_vector(), 0:255) }) +test_that("Arrays of uint{32,64} convert to numeric", { + u32 <- Array$create(1L)$cast(uint32()) + expect_identical(as.vector(u32), 1) + + u64 <- Array$create(1L)$cast(uint64()) + expect_identical(as.vector(u64), 1) +}) Review comment: Those tests are thorough! ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org