@@ -5,7 +5,6 @@ message("*** BatchtoolsFuture() ...")
55message(" *** BatchtoolsFuture() - cleanup ..." )
66
77f <- batchtools_local({ 1L })
8- print(f )
98res <- await(f , cleanup = TRUE )
109print(res )
1110# future (>= 1.7.0-9000)
@@ -19,7 +18,6 @@ message("*** BatchtoolsFuture() - deleting exceptions ...")
1918
2019# # Deleting a non-resolved future
2120f <- BatchtoolsFuture({ x <- 1 })
22- print(f )
2321res <- tryCatch({
2422 delete(f )
2523}, warning = function (w ) w )
@@ -44,7 +42,6 @@ message("*** BatchtoolsFuture() - registry exceptions ...")
4442
4543# # Non-existing batchtools registry
4644f <- BatchtoolsFuture({ x <- 1 })
47- print(f )
4845
4946# # Hack to emulate where batchtools registry is deleted or fails
5047f $ state <- " running"
@@ -69,15 +66,13 @@ message("*** BatchtoolsFuture() - registry exceptions ... DONE")
6966message(" *** BatchtoolsFuture() - exceptions ..." )
7067
7168f <- BatchtoolsFuture({ 42L })
72- print(f )
7369res <- tryCatch({
7470 loggedError(f )
7571}, error = function (ex ) ex )
7672print(res )
7773stopifnot(inherits(res , " error" ))
7874
7975f <- BatchtoolsFuture({ 42L })
80- print(f )
8176res <- tryCatch({
8277 loggedOutput(f )
8378}, error = function (ex ) ex )
@@ -110,7 +105,6 @@ if (fullTest && availableCores(constraints = "multicore") > 1) {
110105 Sys.sleep(5 )
111106 x <- 1
112107 })
113- print(f )
114108
115109 res <- tryCatch({
116110 value(f )
0 commit comments