Skip to content

Commit 0c770e6

Browse files
Use the FutureBackend approach by default, if the backend implements it
1 parent fc23ad6 commit 0c770e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- {os: ubuntu-latest, r: 'oldrel-1' }
2929
- {os: ubuntu-latest, r: 'oldrel-2' }
3030
- {os: ubuntu-latest, r: '4.0' }
31-
- {os: ubuntu-latest, r: 'release' , backend_version: 2, label: 'backend_version=2' }
31+
- {os: ubuntu-latest, r: 'release' , backend_version: 1, label: 'backend_version=1' }
3232
- {os: ubuntu-latest, r: 'release' , language: ko, label: ko }
3333
- {os: ubuntu-latest, r: 'release' , language: zh_CN, label: zh_CN }
3434
- {os: ubuntu-latest, r: 'release' , language: zh_TW, label: zh_TW }

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.34.0-9202
2+
Version: 1.34.0-9203
33
Title: Unified Parallel and Distributed Processing in R for Everyone
44
Imports:
55
digest,

R/backend_api-Future-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ run.Future <- function(future, ...) {
428428
if (debug) mdebug("- Future backend: ", commaq(class(makeFuture)))
429429

430430
## Use new FutureBackend approach?
431-
if (getOption("future.backend.version", 1L) == 2L) {
431+
if (getOption("future.backend.version", 2L) == 2L) {
432432
## Implements a FutureBackend?
433433
backend <- attr(makeFuture, "backend")
434434
if (is.function(backend)) {

0 commit comments

Comments
 (0)