@@ -92,7 +92,7 @@ resolve.Future <- function(x, idxs = NULL, recursive = 0, result = FALSE, stdout
9292 result <- result || relay
9393
9494 # # Lazy future that is not yet launched?
95- if (future [[" state" ]] == ' created' ) future <- run(future )
95+ if (future [[" state" ]] == " created" ) future <- run(future )
9696
9797 # # Poll for the Future to finish
9898 while (! resolved(future )) {
@@ -251,7 +251,7 @@ resolve.list <- function(x, idxs = NULL, recursive = 0, result = FALSE, stdout =
251251 # # so that future can be resolved in the asynchronously
252252 if (inherits(obj , " Future" )) {
253253 # # Lazy future that is not yet launched?
254- if (obj [[" state" ]] == ' created' ) obj <- run(obj )
254+ if (obj [[" state" ]] == " created" ) obj <- run(obj )
255255 if (! resolved(obj )) next
256256 if (debug ) mdebugf(" Future #%d" , ii )
257257 if (result ) {
@@ -397,7 +397,7 @@ resolve.environment <- function(x, idxs = NULL, recursive = 0, result = FALSE, s
397397 # # so that future can be resolved in the asynchronously
398398 if (inherits(obj , " Future" )) {
399399 # # Lazy future that is not yet launched?
400- if (obj [[" state" ]] == ' created' ) obj <- run(obj )
400+ if (obj [[" state" ]] == " created" ) obj <- run(obj )
401401 if (! resolved(obj )) next
402402 if (debug ) mdebugf(" Future #%d" , ii )
403403 if (result ) value(obj , stdout = FALSE , signal = FALSE )
@@ -543,7 +543,7 @@ resolve.listenv <- function(x, idxs = NULL, recursive = 0, result = FALSE, stdou
543543 # # so that future can be resolved in the asynchronously
544544 if (inherits(obj , " Future" )) {
545545 # # Lazy future that is not yet launched?
546- if (obj [[" state" ]] == ' created' ) obj <- run(obj )
546+ if (obj [[" state" ]] == " created" ) obj <- run(obj )
547547 if (! resolved(obj )) next
548548 if (debug ) mdebugf(" Future #%d" , ii )
549549 if (result ) value(obj , stdout = FALSE , signal = FALSE )
0 commit comments