CRAN Package Check Results for Package future

Last updated on 2025-05-31 07:49:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.49.0 12.52 342.61 355.13 OK
r-devel-linux-x86_64-debian-gcc 1.49.0 8.36 248.64 257.00 OK
r-devel-linux-x86_64-fedora-clang 1.49.0 569.80 OK
r-devel-linux-x86_64-fedora-gcc 1.49.0 551.87 OK
r-devel-windows-x86_64 1.49.0 20.00 391.00 411.00 ERROR
r-patched-linux-x86_64 1.49.0 12.63 324.27 336.90 OK
r-release-linux-x86_64 1.49.0 11.33 326.37 337.70 OK
r-release-macos-arm64 1.49.0 212.00 OK
r-release-macos-x86_64 1.49.0 399.00 OK
r-release-windows-x86_64 1.49.0 15.00 423.00 438.00 ERROR
r-oldrel-macos-arm64 1.49.0 208.00 OK
r-oldrel-macos-x86_64 1.49.0 408.00 OK
r-oldrel-windows-x86_64 1.49.0 18.00 462.00 480.00 ERROR

Check Details

Version: 1.49.0
Check: examples
Result: ERROR Running examples in 'future-Ex.R' failed The error most likely occurred in: > ### Name: cancel > ### Title: Cancel a future > ### Aliases: cancel > > ### ** Examples > > ## Set up two parallel workers > plan(multisession, workers = 2) > > ## Launch two long running future > fs <- lapply(c(1, 2), function(duration) { + future({ + Sys.sleep(duration) + 42 + }) + }) > > ## Wait until at least one of the futures is resolved > while (!any(resolved(fs))) Sys.sleep(0.1) > > ## Cancel the future that is not yet resolved > r <- resolved(fs) > cancel(fs[!r]) > > ## Get the value of the resolved future > f <- fs[r] > v <- value(f) > message("Result: ", v) Result: 42 > > ## The value of the canceled future is an error > try(v <- value(fs[!r])) Error : Future (NULL) of class MultisessionFuture was canceled, while running on 'localhost' (pid 174024) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:35407 (sockconn) Execution halted Flavor: r-devel-windows-x86_64

Version: 1.49.0
Check: examples
Result: ERROR Running examples in 'future-Ex.R' failed The error most likely occurred in: > ### Name: cancel > ### Title: Cancel a future > ### Aliases: cancel > > ### ** Examples > > ## Set up two parallel workers > plan(multisession, workers = 2) > > ## Launch two long running future > fs <- lapply(c(1, 2), function(duration) { + future({ + Sys.sleep(duration) + 42 + }) + }) > > ## Wait until at least one of the futures is resolved > while (!any(resolved(fs))) Sys.sleep(0.1) > > ## Cancel the future that is not yet resolved > r <- resolved(fs) > cancel(fs[!r]) > > ## Get the value of the resolved future > f <- fs[r] > v <- value(f) > message("Result: ", v) Result: 42 > > ## The value of the canceled future is an error > try(v <- value(fs[!r])) Error : Future (NULL) of class MultisessionFuture was canceled, while running on 'localhost' (pid 84812) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:23494 (sockconn) Execution halted Flavor: r-release-windows-x86_64

Version: 1.49.0
Check: examples
Result: ERROR Running examples in 'future-Ex.R' failed The error most likely occurred in: > ### Name: cancel > ### Title: Cancel a future > ### Aliases: cancel > > ### ** Examples > > ## Set up two parallel workers > plan(multisession, workers = 2) > > ## Launch two long running future > fs <- lapply(c(1, 2), function(duration) { + future({ + Sys.sleep(duration) + 42 + }) + }) > > ## Wait until at least one of the futures is resolved > while (!any(resolved(fs))) Sys.sleep(0.1) > > ## Cancel the future that is not yet resolved > r <- resolved(fs) > cancel(fs[!r]) > > ## Get the value of the resolved future > f <- fs[r] > v <- value(f) > message("Result: ", v) Result: 42 > > ## The value of the canceled future is an error > try(v <- value(fs[!r])) Error : Future (NULL) of class MultisessionFuture was canceled, while running on 'localhost' (pid 113532) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANWIN2.fb05.statistik.uni-dortmund.de:38829 (sockconn) Execution halted Flavor: r-oldrel-windows-x86_64