|
10 | 10 | #' |
11 | 11 | #' \describe{ |
12 | 12 | #' \item{\option{doFuture.foreach.export}:}{ |
13 | | -#' Specifies to what extent the \code{.export} argument of |
14 | | -#' \code{\link[foreach]{foreach}()} should be respected or if globals |
15 | | -#' should be automatically identified. |
| 13 | +#' Specifies to what extent the `.export` argument of [foreach()], paired |
| 14 | +#' with [`%dopar%`], should be respected or if globals should be |
| 15 | +#' automatically identified. This is only for `%dopar%` -- [`%dofuture%`] |
| 16 | +#' does not support `.export` and `.noexport`. |
16 | 17 | #' |
17 | | -#' If \code{".export"}, then the globals specified by the \code{.export} |
| 18 | +#' If `".export"`, then the globals specified by the `.export` |
18 | 19 | #' argument will be used "as is". |
19 | 20 | #' |
20 | | -#' If \code{".export-and-automatic"}, then globals specified by |
21 | | -#' \code{.export} as well as those automatically identified are used. |
| 21 | +#' If `".export-and-automatic"`, then globals specified by |
| 22 | +#' `.export` as well as those automatically identified are used. |
22 | 23 | #' |
23 | | -#' The \code{".export-and-automatic-with-warning"} is the same as |
24 | | -#' \code{".export-and-automatic"}, but produces a warning if \code{.export} |
25 | | -#' lacks some of the globals that the automatic identification locates |
26 | | -#' - this is helpful feedback to developers using \code{foreach()}. |
| 24 | +#' The `".export-and-automatic-with-warning"` is the same as |
| 25 | +#' `".export-and-automatic"`, but produces a warning if `.export` |
| 26 | +#' lacks some of the globals that the automatic identification locates, |
| 27 | +#' which could be helpful feedback to developers using [foreach()] with |
| 28 | +#' `%dopar%` -- also when using adapters such as **doFuture**. |
27 | 29 | #' |
28 | | -#' (Default: \code{".export-and-automatic"}) |
| 30 | +#' (Default: `".export-and-automatic"`) |
29 | 31 | #' } |
30 | 32 | #' |
31 | 33 | #' \item{\option{doFuture.debug}:}{If `TRUE`, extensive debug messages are |
|
34 | 36 | #' |
35 | 37 | #' @section Environment variables that set R options: |
36 | 38 | #' All of the above \R \option{doFfuture.*} options can be set by |
37 | | -#' corresponding environment variable \env{R_FOFUTURE_*} _when the |
| 39 | +#' corresponding environment variable \env{R_DOFUTURE_*} _when the |
38 | 40 | #' \pkg{doFuture} package is loaded_. |
39 | 41 | #' For example, if `R_DOFUTURE_DEBUG=TRUE`, then option |
40 | 42 | #' \option{doFuture.debug} is set to `TRUE` (logical). |
|
0 commit comments