Skip to content

Commit

Permalink
more succinct
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Oct 6, 2024
1 parent bc7181e commit 58ef6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mirai_map <- function(.x, .f, ..., .args = list(), .promise = NULL, .compute = "

missing(..1) && return(collect_aio_(x))

dots <- eval(`[[<-`(substitute(alist(...)), 1L, quote(list)), envir = environment(mirai_map))
dots <- eval(`[[<-`(substitute(alist(...)), 1L, quote(list)), envir = .)
expr <- if (length(dots) > 1L) do.call(expression, dots) else dots[[1L]]
xlen <- length(x)
i <- 0L
Expand Down

0 comments on commit 58ef6bb

Please sign in to comment.