Skip to content

Commit

Permalink
deprecate automatic array splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Sep 17, 2023
1 parent 9573416 commit 6f60a61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/Q.r
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ Q = function(fun, ..., const=list(), export=list(), pkgs=c(), seed=128965,
verbose=TRUE) {

split_arrays = function(x) {
if (is.array(x))
if (is.array(x)) {
.Deprecated("narray package directly")
narray::split(x, along=split_array_by)
else
} else
x
}
iter = lapply(list(...), split_arrays)
Expand Down

0 comments on commit 6f60a61

Please sign in to comment.