CRAN Package Check Results for Package future

Last updated on 2025-06-02 06:49:57 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 7.57 248.24 255.81 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 19.00 374.00 393.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.03 324.73 335.76 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 16.00 372.00 388.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 17.00 461.00 478.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 32424) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:27073 (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 125596) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:24679 (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 212472) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANWIN2.fb05.statistik.uni-dortmund.de:37081 (sockconn) Execution halted Flavor: r-oldrel-windows-x86_64