CRAN Package Check Results for Package future

Last updated on 2025-06-05 23:52:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.49.0 12.40 340.72 353.12 OK
r-devel-linux-x86_64-debian-gcc 1.58.0 8.41 284.51 292.92 OK
r-devel-linux-x86_64-fedora-clang 1.58.0 612.48 OK
r-devel-linux-x86_64-fedora-gcc 1.58.0 611.14 OK
r-devel-windows-x86_64 1.49.0 14.00 405.00 419.00 ERROR
r-patched-linux-x86_64 1.49.0 13.01 340.95 353.96 OK
r-release-linux-x86_64 1.49.0 11.03 324.73 335.76 OK
r-release-macos-arm64 1.58.0 280.00 OK
r-release-macos-x86_64 1.58.0 424.00 OK
r-release-windows-x86_64 1.49.0 14.00 386.00 400.00 ERROR
r-oldrel-macos-arm64 1.58.0 234.00 OK
r-oldrel-macos-x86_64 1.58.0 452.00 OK
r-oldrel-windows-x86_64 1.49.0 18.00 476.00 494.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 22080) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:37274 (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 31080) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:31237 (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 70664) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANWIN2.fb05.statistik.uni-dortmund.de:32678 (sockconn) Execution halted Flavor: r-oldrel-windows-x86_64