CRAN Package Check Results for Package future

Last updated on 2025-05-17 21:49:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.49.0 10.98 342.13 353.11 OK
r-devel-linux-x86_64-debian-gcc 1.49.0 7.58 249.76 257.34 OK
r-devel-linux-x86_64-fedora-clang 1.49.0 548.40 OK
r-devel-linux-x86_64-fedora-gcc 1.49.0 560.96 OK
r-devel-windows-x86_64 1.49.0 14.00 377.00 391.00 ERROR
r-patched-linux-x86_64 1.49.0 12.30 321.95 334.25 OK
r-release-linux-x86_64 1.49.0 10.35 323.51 333.86 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 14.00 447.00 461.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.40.0 18.00 400.00 418.00 OK

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 39172) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:29216 (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 35748) > > ## Shut down parallel workers > plan(sequential) > > > > cleanEx() Error: connections left open: <-CRANwin3.fb05.statistik.uni-dortmund.de:33049 (sockconn) Execution halted Flavor: r-release-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.