etiennebacher commented on issue #40231: URL: https://github.com/apache/arrow/issues/40231#issuecomment-1966024098
Actually, this looks like a documented limitation of `future` about exporting pointers: https://future.futureverse.org/articles/future-4-non-exportable-objects.html?q=pointer#packages-that-rely-on-external-pointers Setting `options(future.globals.onReference = "error")` shows the error: ``` r library(arrow, warn.conflicts = FALSE) library(future.apply) #> Loading required package: future plan(multisession) options(future.globals.onReference = "error") future_lapply(1, \(x) as_arrow_table(iris)) #> Error: Detected a non-exportable reference ('externalptr') in the value (of class 'list') of the resolved future ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org