|
66 | 66 | #' |
67 | 67 | #' @section Global variables: |
68 | 68 | #' Argument `future.globals` may be used to control how globals |
69 | | -#' should be handled similarly how the `globals` argument is used with |
| 69 | +#' should be handled similarly to how the `globals` argument is used with |
70 | 70 | #' `future()`. |
71 | 71 | #' Since all function calls use the same set of globals, this function can do |
72 | 72 | #' any gathering of globals upfront (once), which is more efficient than if |
|
94 | 94 | #' |
95 | 95 | #' If `future.seed = FALSE`, it is expected that none of the |
96 | 96 | #' `FUN(X[[ii]], ...)` function calls use random number generation. |
97 | | -#' If they do, then an informative warning or error is produces depending |
| 97 | +#' If they do, then an informative warning or error is produced depending |
98 | 98 | #' on settings. See [future::future()] for more details. |
99 | 99 | #' Using `future.seed = NULL`, is like `future.seed = FALSE` but without |
100 | 100 | #' the check whether random numbers were generated or not. |
|
154 | 154 | #' be used to control the ordering the elements are iterated over, which |
155 | 155 | #' only affects the processing order and _not_ the order values are returned. |
156 | 156 | #' This attribute can take the following values: |
157 | | -#' * index vector - an numeric vector of length `length(X)` |
158 | | -#' * function - an function taking one argument which is called as |
| 157 | +#' * index vector - a numeric vector of length `length(X)` |
| 158 | +#' * function - a function taking one argument which is called as |
159 | 159 | #' `ordering(length(X))` and which must return an |
160 | 160 | #' index vector of length `length(X)`, e.g. |
161 | 161 | #' `function(n) rev(seq_len(n))` for reverse ordering. |
|
0 commit comments