You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this is a known issue and on the road map (for way too long), e.g. Issue #62 and #64 (comment). I just need some deep focus to get this correct; passing down envir = parent.frame() as-is will result in some revdep complaints related to globals and ... that need to be understood and sorted out.
Also, I was hoping to have gotten around and created https://github.com/HenrikBengtsson/future.mapreduce by now so it can just implemented it there and then future.apply, doFuture, and furrr could depend on that.
In
future
, we can set environment where to search for globals, but infuture_lapply
, this option seems to be removed.Is it possible to do this:
(original code)
In this way,
future_xapply
will be able to receive environment in case other Future classes need to process the environment.https://github.com/HenrikBengtsson/future.apply/blob/fcec8077a4eb8da0b4e60dd67a20fca33715942f/R/future_xapply.R#L186-L195
We only need to change line 188 to
The text was updated successfully, but these errors were encountered: