HenrikBengtsson / doFuture

:rocket: R package: doFuture - Use Foreach to Parallelize via Future Framework
https://doFuture.futureverse.org
84 stars 6 forks source link

GLOBALS: Harmonize how globals are recursively resolved, i.e. make it optional? #13

Closed HenrikBengtsson closed 7 years ago

HenrikBengtsson commented 7 years ago

Harmonize how all globals are resolved in other future-based frameworks, that i make it optional via R option future.globals.resolve. Currently, doFuture hard codes it to resolve = TRUE;

  gp <- getGlobalsAndPackages(expr, envir = globals_envir,
                              globals = globals, resolve = TRUE)

By not specifying resolve it'll default to that option.