You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (future$state%in% c("done", "failed", "interrupted")) {
286
-
return(NextMethod("value"))
286
+
result<-future$result
287
+
if (inherits(result, "FutureResult")) return(result)
288
+
289
+
## Has the value already been collected? - take two
290
+
if (future$state%in% c("finished", "failed", "interrupted")) {
291
+
return(NextMethod())
287
292
}
288
293
289
294
if (future$state=="created") {
@@ -292,22 +297,19 @@ value.BatchtoolsFuture <- function(future, signal = TRUE,
292
297
293
298
stat<- status(future)
294
299
if (is_na(stat)) {
295
-
onMissing<- match.arg(onMissing)
296
-
if (onMissing=="default") return(default)
297
300
label<-future$label
298
301
if (is.null(label)) label<-"<none>"
299
-
stop(sprintf("The value no longer exists (or never existed) for Future ('%s') of class %s", label, paste(sQuote(class(future)), collapse=", "))) #nolint
302
+
stop(sprintf("The result no longer exists (or never existed) for Future ('%s') of class %s", label, paste(sQuote(class(future)), collapse=", "))) #nolint
This submission has been validated using 'R CMD check --as-cran' on Linux, Solaris, macOS, and Windows on the r-oldrel, r-release, and r-devel versions.
6
-
7
-
I've verified that this submission causes no issues for any of the 4 reverse (non-recursive) package dependencies available on CRAN.
5
+
## Submission 1
8
6
9
7
Thanks in advance
10
8
9
+
## Submission 2
11
10
12
-
### R CMD check --as-cran validation
11
+
Resubmission of future.batchtools 0.7.1 where the overall R CMD check time has been decreased significantly.
13
12
14
-
The package has been verified using `R CMD check --as-cran` on:
0 commit comments