Skip to content

Commit 4644410

Browse files
CLEANUP: Formally deprecate (hidden) argument 'local' of future()
1 parent 1823aec commit 4644410

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future
2-
Version: 1.68.0-9019
2+
Version: 1.68.0-9020
33
Title: Unified Parallel and Distributed Processing in R for Everyone
44
Depends:
55
R (>= 3.2.0)

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
## Deprecated and Defunct
2424

2525
* Remove arguments `earlySignal` and `gc` from `future()`,
26-
`futureAssign()`, and `futureCall()`. Attempts to set them are now
27-
ignored and will produce deprecation warnings.
26+
`futureAssign()`, and `futureCall()`. Attempts to set them produce
27+
deprecation warnings.
2828

2929
* The `cluster` backend now defaults to `earlySignal = FALSE`. This
3030
was effectively already the case, because of an internal thinko

R/core_api-future.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ future <- function(expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE
202202

203203
args_names <- names(list(...))
204204

205-
## Deprecation of arguments 'earlySignal' and 'gc'
206-
for (name in c("earlySignal", "gc")) {
205+
## Deprecation of arguments 'earlySignal', 'gc', and 'local'
206+
for (name in c("earlySignal", "gc", "local")) {
207207
if (!is.null(future[[name]])) {
208208
if (is.element(name, args_names)) {
209209
deprecateFutureArgument(name, future[[name]])

R/utils-options.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,4 +469,5 @@ update_package_options <- function(debug = FALSE) {
469469
## future (> 1.68.0)
470470
update_package_option("future.future.earlySignal", mode = "character", debug = debug)
471471
update_package_option("future.future.gc", mode = "character", debug = debug)
472+
update_package_option("future.future.local", mode = "character", debug = debug)
472473
}

0 commit comments

Comments
 (0)