thisisnic commented on code in PR #14922:
URL: https://github.com/apache/arrow/pull/14922#discussion_r1048889495
##########
r/R/array.R:
##########
@@ -450,6 +440,44 @@ StructArray <- R6Class("StructArray",
)
)
+StructArray$create <- function(...) {
+ dots <- list2(...)
Review Comment:
I'm not sure how to make that work; I tried start off with:
```
dots <- list2(...)
stopifnot(length(dots) > 0)
if (is.null(names(dots))) {
names(dots) <- rep_len("", length(dots))
}
batch <- record_batch(dots)
```
but I just end up with
`Error: Unknown: only data frames are allowed as unnamed arguments to be
auto spliced`
--
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]