diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 63b8f3b..0e0b373 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,19 +22,19 @@ jobs: - {os: macOS-latest, r: 'devel' } - {os: macOS-latest, r: 'release' } - {os: macOS-latest, r: 'oldrel' } - - {os: ubuntu-20.04, r: 'devel' } - - {os: ubuntu-20.04, r: 'release' } - - {os: ubuntu-20.04, r: 'oldrel' } - - {os: ubuntu-20.04, r: 'oldrel-1' } - - {os: ubuntu-20.04, r: 'oldrel-2' } - - {os: ubuntu-20.04, r: '3.4' } - - {os: ubuntu-20.04, r: 'release' , language: ko, label: ko } - - {os: ubuntu-20.04, r: 'release' , language: zh_CN, label: zh_CN } - - {os: ubuntu-20.04, r: 'release' , language: zh_TW, label: zh_TW } + - {os: ubuntu-22.04, r: 'devel' } + - {os: ubuntu-22.04, r: 'release' } + - {os: ubuntu-22.04, r: 'oldrel' } + - {os: ubuntu-22.04, r: 'oldrel-1' } + - {os: ubuntu-22.04, r: 'oldrel-2' } + - {os: ubuntu-22.04, r: '3.4' } + - {os: ubuntu-22.04, r: 'release' , language: ko, label: ko } + - {os: ubuntu-22.04, r: 'release' , language: zh_CN, label: zh_CN } + - {os: ubuntu-22.04, r: 'release' , language: zh_TW, label: zh_TW } env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/latest + RSPM: https://packagemanager.rstudio.com/cran/__linux__/jammy/latest R_REMOTES_NO_ERRORS_FROM_WARNINGS: true ## R CMD check _R_CHECK_CRAN_INCOMING_: false @@ -102,7 +102,13 @@ jobs: shell: Rscript {0} - name: Check - run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran", if (.Platform$OS.type == "windows" && getRversion() >= "4.2.0") "--no-multiarch"), check_dir = "check") + run: | + if (nzchar(Sys.getenv("R_FUTURE_PLAN")) || getRversion() < "3.5.0") Sys.setenv(RCMDCHECK_ERROR_ON = "error") + rcmdcheck::rcmdcheck( + build_args = if (getRversion() < "3.5.0") "--no-build-vignettes", + args = c("--no-manual", "--as-cran", if (.Platform$OS.type == "windows" && getRversion() >= "4.2.0") "--no-multiarch", if (getRversion() < "3.5.0") c("--no-vignettes", "--no-build-vignettes", "--ignore-vignettes")), + check_dir = "check" + ) shell: Rscript {0} - name: Upload check results diff --git a/.github/workflows/covr.yaml b/.github/workflows/covr.yaml index fddb21d..e7af8bb 100644 --- a/.github/workflows/covr.yaml +++ b/.github/workflows/covr.yaml @@ -8,7 +8,7 @@ jobs: timeout-minutes: 15 - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: covr @@ -17,7 +17,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/latest + RSPM: https://packagemanager.rstudio.com/cran/__linux__/jammy/latest R_REMOTES_NO_ERRORS_FROM_WARNINGS: true ## R CMD check _R_CHECK_LENGTH_1_CONDITION_: true diff --git a/.github/workflows/future_tests.yaml b/.github/workflows/future_tests.yaml index 1ded96d..0e356ba 100644 --- a/.github/workflows/future_tests.yaml +++ b/.github/workflows/future_tests.yaml @@ -8,7 +8,7 @@ jobs: timeout-minutes: 15 - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 name: future.plan=${{ matrix.future.plan }} @@ -20,7 +20,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - RSPM: https://packagemanager.rstudio.com/cran/__linux__/focal/latest + RSPM: https://packagemanager.rstudio.com/cran/__linux__/jammy/latest R_REMOTES_NO_ERRORS_FROM_WARNINGS: true ## R CMD check _R_CHECK_LENGTH_1_CONDITION_: true diff --git a/.gitignore b/.gitignore index eb58605..4846c41 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ .test .local .make/ +.Rdump/ *.o *.dll *.Rout diff --git a/DESCRIPTION b/DESCRIPTION index 2eec6af..be4185c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: future.callr -Version: 0.8.1 +Version: 0.8.2 Depends: R (>= 3.4.0), - future (>= 1.23.0) + future (>= 1.33.0) Imports: callr (>= 2.0.3) Suggests: diff --git a/Makefile b/Makefile index 6b56d34..a9317bb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ include .make/Makefile +spelling: + $(R_SCRIPT) -e "spelling::spell_check_package()" + $(R_SCRIPT) -e "spelling::spell_check_files(c('NEWS.md', dir('vignettes', pattern='[.]rsp$$', full.names=TRUE)), ignore=readLines('inst/WORDLIST', warn=FALSE))" + future.tests/%: $(R_SCRIPT) -e "future.tests::check" --args --test-plan=$* diff --git a/NEWS.md b/NEWS.md index f3f2ed0..1b99bec 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +# Version 0.8.2 [2023-08-08] + +## Bug Fixes + + * If a 'callr' future failed, because the parallel process crashed, + the corresponding parallel-worker slot was never released. + + # Version 0.8.1 [2022-12-13] ## Bug Fixes diff --git a/R/CallrFuture-class.R b/R/CallrFuture-class.R index acd81c0..c2bb455 100644 --- a/R/CallrFuture-class.R +++ b/R/CallrFuture-class.R @@ -337,7 +337,17 @@ await <- local({ ## Failed? if (inherits(result, "error")) { msg <- post_mortem_failure(result, future = future) - stop(CallrFutureError(msg, future = future)) + ex <- CallrFutureError(msg, future = future) + + ## Remove future from FutureRegistry? + if (!process$is_alive()) { + reg <- "workers-callr" + if (FutureRegistry(reg, action = "contains", future = future)) { + FutureRegistry(reg, action = "remove", future = future) + } + } + + stop(ex) } if (debug) mdebugf("- callr:::get_result() ... done (after %d attempts)", ii) diff --git a/cran-comments.md b/cran-comments.md index dc884de..f0b5b0d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,8 +1,8 @@ -# CRAN submission future.callr 0.8.1 +# CRAN submission future.callr 0.8.2 -on 2022-12-13 +on 2023-08-08 -I've verified this submission has no negative impact on any of the 9 reverse package dependencies available on CRAN. +I've verified this submission has no negative impact on any of the 11 reverse package dependencies available on CRAN. Thank you @@ -13,14 +13,13 @@ Thank you The package has been verified using `R CMD check --as-cran` on: -| R version | GitHub | R-hub | mac/win-builder | -| --------- | ------ | ------ | --------------- | -| 3.4.x | L | | | -| 3.6.x | L | | | -| 4.0.x | L | | | -| 4.1.x | L M W | M | | -| 4.2.x | L M W | L W | M1 W | -| devel | L M W | L | M1 W | +| R version | GitHub | R-hub | mac/win-builder | +| --------- | ------ | ----- | --------------- | +| 3.4.x | L | | | +| 4.1.x | L | | | +| 4.2.x | L M W | | | +| 4.3.x | L M W | L W | M1 W | +| devel | L M W | L | W | *Legend: OS: L = Linux, M = macOS, M1 = macOS M1, W = Windows* @@ -32,7 +31,6 @@ res <- rhub::check(platforms = c( "debian-clang-devel", "debian-gcc-patched", "fedora-gcc-devel", - "macos-highsierra-release-cran", "windows-x86_64-release" )) print(res) @@ -41,52 +39,39 @@ print(res) gives ``` -── future.callr 0.8.1: OK +── future.callr 0.8.2: OK - Build ID: future.callr_0.8.1.tar.gz-dd9c44c07f1e4cbdbb0d2622e33e40e7 + Build ID: future.callr_0.8.2.tar.gz-396ca0f09101434389b3c2a7851cf000 Platform: Debian Linux, R-devel, clang, ISO-8859-15 locale - Submitted: 28m 18.4s ago - Build time: 28m 11.1s + Submitted: 58m 9.4s ago + Build time: 16m 58s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ -── future.callr 0.8.1: OK +── future.callr 0.8.2: OK - Build ID: future.callr_0.8.1.tar.gz-735855501ba64658986f26d86fdc656b + Build ID: future.callr_0.8.2.tar.gz-26abe8dadde4400b8e33f55e69ad3fe6 Platform: Debian Linux, R-patched, GCC - Submitted: 28m 18.5s ago - Build time: 25m 44.2s + Submitted: 58m 9.4s ago + Build time: 15m 51s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ -── future.callr 0.8.1: OK +── future.callr 0.8.2: OK - Build ID: future.callr_0.8.1.tar.gz-766d6c03b3fd428782308da41a4fd56d + Build ID: future.callr_0.8.2.tar.gz-1943b15e261248aa98a0351725da69e9 Platform: Fedora Linux, R-devel, GCC - Submitted: 28m 18.5s ago - Build time: 17m 45s + Submitted: 58m 9.4s ago + Build time: 13m 31.5s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ -── future.callr 0.8.1: WARNING +── future.callr 0.8.2: OK - Build ID: future.callr_0.8.1.tar.gz-77ecce449c554f8784ef7f0984874d44 - Platform: macOS 10.13.6 High Sierra, R-release, CRAN's setup - Submitted: 28m 18.5s ago - Build time: 3m 53.2s - -❯ checking whether package ‘future.callr’ can be installed ... WARNING - Found the following significant warnings: - Warning: package ‘future’ was built under R version 4.1.2 - -0 errors ✔ | 1 warning ✖ | 0 notes ✔ - -── future.callr 0.8.1: OK - - Build ID: future.callr_0.8.1.tar.gz-28b347cb1e30480697adeeecf9865299 + Build ID: future.callr_0.8.2.tar.gz-b005cd8ef97048d99e02318d5d630371 Platform: Windows Server 2022, R-release, 32/64 bit - Submitted: 28m 18.5s ago - Build time: 3m 7.7s + Submitted: 58m 9.4s ago + Build time: 4m 36.6s 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ ``` diff --git a/inst/CITATION b/inst/CITATION index 30d7265..2fdcc81 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,11 +1,11 @@ -citHeader("Please cite 'future' and the future framework using the following references:") +utils::bibentry( + header = "Please cite 'future' and the future framework using the following references:", -citEntry( # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # BibTeX entry: # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + bibtype = "article", key = "RJ-2021-048", - entry = "article", author = "Henrik Bengtsson", title = "A Unifying Framework for Parallel and Distributed Processing in R using Futures", year = "2021", @@ -19,7 +19,7 @@ citEntry( # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Plain-text citation: # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - textVersion = paste(sep="", + textVersion = paste0( "Henrik Bengtsson, ", "A Unifying Framework for Parallel and Distributed Processing in R using Futures, ", "The R Journal (2021) 13:2, pages 208-227, ", diff --git a/inst/WORDLIST b/inst/WORDLIST index 3893123..69f77c1 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -1,24 +1,42 @@ AppVeyor +Bengtsson +CMD +CallrFuture +CallrFutureError +FutureError +FutureResult +Globals +HPC +HenrikBengtsson +availableCores benchmarking callr -CallrFuture -CMD +cran doFuture finalizers -FutureResult +github globals -Globals +halfCores +https macOS +mandelbrot +mc +md multiprocess multisession -pre -Pre -th -md -FutureError -availableCores -CallrFutureError -halfCores nbrOfFreeWorkers +pre processx stderr +th +reproducibility +rsp +SOCKcluster +stackoverflow +Sys +VignetteAuthor +VignetteEngine +VignetteIndexEntry +VignetteKeyword +VignetteTangle +Wishlist diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index aeee16b..7cfd7a9 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -6,7 +6,7 @@ home: href: https://github.com/HenrikBengtsson/future.callr/milestones - text: The Futureverse Project href: https://www.futureverse.org/ - - text: Futureverse User Forum (new!) + - text: Futureverse User Forum href: https://github.com/HenrikBengtsson/future/discussions navbar: @@ -14,13 +14,11 @@ navbar: right: [futureverse, pkgs, cran, github] components: futureverse: - icon: fas fa-fast-backward + icon: fas fa-home href: https://www.futureverse.org/ pkgs: text: Packages menu: - - text: BiocParallel.FutureParam - href: https://BiocParallel.FutureParam.futureverse.org - text: doFuture href: https://doFuture.futureverse.org - text: furrr @@ -43,6 +41,12 @@ navbar: href: https://parallelly.futureverse.org - text: progressr href: https://progressr.futureverse.org + - text: BiocParallel.FutureParam (experimental) + href: https://BiocParallel.FutureParam.futureverse.org + - text: future.tools (experimental) + href: https://future.tools.futureverse.org + - text: future.mirai (experimental) + href: https://future.mirai.futureverse.org - text: future.mapreduce (experimental) href: https://future.mapreduce.futureverse.org - text: marshal (experimental) diff --git a/pkgdown/_pkgdown.yml.rsp b/pkgdown/_pkgdown.yml.rsp index eaf9d08..6d931ca 100644 --- a/pkgdown/_pkgdown.yml.rsp +++ b/pkgdown/_pkgdown.yml.rsp @@ -1,6 +1,6 @@ <% -pkgs <- c("globals", "listenv", "parallelly", "future", "future.apply", "furrr", "future.tests", "future.callr", "future.batchtools", "doFuture", "progressr", "BiocParallel.FutureParam") -pkgs_extra <- c("future.mapreduce", "marshal") +pkgs <- c("globals", "listenv", "parallelly", "future", "future.apply", "furrr", "future.tests", "future.callr", "future.batchtools", "doFuture", "progressr") +pkgs_extra <- c("BiocParallel.FutureParam", "future.tools", "future.mirai", "future.mapreduce", "marshal") pkgs <- c(sort(pkgs), pkgs_extra) urls <- sprintf("https://%s.futureverse.org", pkgs) names(urls) <- pkgs @@ -19,7 +19,7 @@ home: href: https://github.com/HenrikBengtsson/<%= pkg %>/milestones - text: The Futureverse Project href: https://www.futureverse.org/ - - text: Futureverse User Forum (new!) + - text: Futureverse User Forum href: https://github.com/HenrikBengtsson/future/discussions navbar: @@ -27,7 +27,7 @@ navbar: right: [futureverse, pkgs, cran, github] components: futureverse: - icon: fas fa-fast-backward + icon: fas fa-home href: https://www.futureverse.org/ pkgs: text: Packages diff --git a/revdep/README.md b/revdep/README.md index 7817c5a..47538fe 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,47 +1,49 @@ # Platform -|field |value | -|:--------|:-----------------------------------------------------------| -|version |R version 4.2.2 (2022-10-31) | -|os |CentOS Linux 7 (Core) | -|system |x86_64, linux-gnu | -|ui |X11 | -|language |en | -|collate |en_US.UTF-8 | -|ctype |en_US.UTF-8 | -|tz |America/Los_Angeles | -|date |2022-12-13 | -|pandoc |2.19.2 @ /software/c4/cbi/software/pandoc-2.19.2/bin/pandoc | +|field |value | +|:--------|:---------------------------------------------------------| +|version |R version 4.3.1 (2023-06-16) | +|os |CentOS Linux 7 (Core) | +|system |x86_64, linux-gnu | +|ui |X11 | +|language |en | +|collate |en_US.UTF-8 | +|ctype |en_US.UTF-8 | +|tz |America/Los_Angeles | +|date |2023-08-08 | +|pandoc |3.1.6 @ /software/c4/cbi/software/pandoc-3.1.6/bin/pandoc | # Dependencies |package |old |new |Δ | |:------------|:------|:----------|:--| -|future.callr |0.8.0 |0.8.0-9004 |* | +|future.callr |0.8.1 |0.8.1-9004 |* | |callr |3.7.3 |3.7.3 | | -|codetools |0.2-18 |0.2-18 | | -|digest |0.6.31 |0.6.31 | | -|future |1.29.0 |1.29.0 | | +|codetools |0.2-19 |0.2-19 | | +|digest |0.6.33 |0.6.33 | | +|future |1.33.0 |1.33.0 | | |globals |0.16.2 |0.16.2 | | -|listenv |0.8.0 |0.8.0 | | -|parallelly |1.32.1 |1.32.1 | | -|processx |3.8.0 |3.8.0 | | -|ps |1.7.2 |1.7.2 | | +|listenv |0.9.0 |0.9.0 | | +|parallelly |1.36.0 |1.36.0 | | +|processx |3.8.2 |3.8.2 | | +|ps |1.7.5 |1.7.5 | | |R6 |2.5.1 |2.5.1 | | # Revdeps -## All (9) +## All (11) |package |version |error |warning |note | |:-----------|:-------|:-----|:-------|:----| -|[dipsaus](problems.md#dipsaus)|0.2.5 | | |1 | +|[dipsaus](problems.md#dipsaus)|0.2.8 | | |1 | |iml |0.11.1 | | | | |incubate |1.2.0 | | | | -|mlr3 |0.14.1 | | | | +|mlr3 |0.16.1 | | | | |mlr3db |0.5.0 | | | | -|mlr3spatial |0.3.0 | | | | +|mlr3spatial |0.4.1 | | | | |netShiny |1.0 | | | | -|[projpred](problems.md#projpred)|2.2.2 | | |1 | -|targets |0.14.1 | | | | +|[projpred](problems.md#projpred)|2.6.0 | | |2 | +|[SpaDES.core](problems.md#spadescore)|2.0.2 | | |2 | +|tarchetypes |0.7.7 | | | | +|targets |1.2.0 | | | | diff --git a/revdep/cran.md b/revdep/cran.md index 7ac41de..e0bfc1b 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 9 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 11 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages diff --git a/revdep/problems.md b/revdep/problems.md index 85ebfe4..cadf3da 100644 --- a/revdep/problems.md +++ b/revdep/problems.md @@ -2,11 +2,11 @@
-* Version: 0.2.5 +* Version: 0.2.8 * GitHub: https://github.com/dipterix/dipsaus * Source code: https://github.com/cran/dipsaus -* Date/Publication: 2022-10-22 07:05:06 UTC -* Number of recursive dependencies: 72 +* Date/Publication: 2023-07-03 20:00:03 UTC +* Number of recursive dependencies: 69 Run `revdep_details(, "dipsaus")` for more info @@ -16,21 +16,21 @@ Run `revdep_details(, "dipsaus")` for more info * checking installed package size ... NOTE ``` - installed size is 6.0Mb + installed size is 5.9Mb sub-directories of 1Mb or more: doc 1.1Mb - libs 3.6Mb + libs 3.5Mb ``` # projpred
-* Version: 2.2.2 +* Version: 2.6.0 * GitHub: https://github.com/stan-dev/projpred * Source code: https://github.com/cran/projpred -* Date/Publication: 2022-11-09 11:10:02 UTC -* Number of recursive dependencies: 143 +* Date/Publication: 2023-06-01 09:10:02 UTC +* Number of recursive dependencies: 154 Run `revdep_details(, "projpred")` for more info @@ -43,3 +43,38 @@ Run `revdep_details(, "projpred")` for more info Package suggested but not available for checking: ‘cmdstanr’ ``` +* checking installed package size ... NOTE + ``` + installed size is 5.3Mb + sub-directories of 1Mb or more: + libs 3.6Mb + ``` + +# SpaDES.core + +
+ +* Version: 2.0.2 +* GitHub: https://github.com/PredictiveEcology/SpaDES.core +* Source code: https://github.com/cran/SpaDES.core +* Date/Publication: 2023-07-06 12:53:16 UTC +* Number of recursive dependencies: 138 + +Run `revdep_details(, "SpaDES.core")` for more info + +
+ +## In both + +* checking package dependencies ... NOTE + ``` + Package suggested but not available for checking: ‘NLMR’ + ``` + +* checking installed package size ... NOTE + ``` + installed size is 6.1Mb + sub-directories of 1Mb or more: + R 4.6Mb + ``` + diff --git a/revdep/revdepcheck.Renviron b/revdep/revdepcheck.Renviron new file mode 100644 index 0000000..6fa62ef --- /dev/null +++ b/revdep/revdepcheck.Renviron @@ -0,0 +1,4 @@ +## Environment variables set by revdepcheck.extras::run() +R_REVDEPCHECK_TIMEOUT=${R_REVDEPCHECK_TIMEOUT:-180} +TAR_SKIP_CLUSTERMQ=${TAR_SKIP_CLUSTERMQ-true} + diff --git a/tests/callr,worker-termination.R b/tests/callr,worker-termination.R new file mode 100644 index 0000000..dfea8c4 --- /dev/null +++ b/tests/callr,worker-termination.R @@ -0,0 +1,27 @@ +source("incl/start.R") + +message("*** callr() - terminating workers ...") + +plan(callr, workers = 2L) + +all <- nbrOfWorkers() +free <- nbrOfFreeWorkers() +stopifnot( + nbrOfWorkers() == 2L, + nbrOfFreeWorkers() == 2L +) + +## Force R worker to quit +f <- future({ tools::pskill(pid = Sys.getpid()) }) +res <- tryCatch(value(f), error = identity) +print(res) +stopifnot(inherits(res, "FutureError")) + +stopifnot( + nbrOfWorkers() == all, + nbrOfFreeWorkers() == free +) + +message("*** callr() - terminating workers ... DONE") + +source("incl/end.R") diff --git a/tests/globals,tricky.R b/tests/globals,tricky.R index 07d8ba3..c54fc7f 100644 --- a/tests/globals,tricky.R +++ b/tests/globals,tricky.R @@ -69,10 +69,10 @@ x$b <- y print(x) -y0 <- lapply(x, FUN = listenv::map) +y0 <- lapply(x, FUN = listenv::mapping) str(list(y0 = y0)) -y <- flapply(x, FUN = listenv::map) +y <- flapply(x, FUN = listenv::mapping) str(list(y = y)) stopifnot(identical(y, y0)) diff --git a/tests/zzz,future_lapply.R b/tests/zzz,future_lapply.R index a4a8177..2916593 100644 --- a/tests/zzz,future_lapply.R +++ b/tests/zzz,future_lapply.R @@ -88,7 +88,7 @@ if (requireNamespace("future.apply", quietly = TRUE)) { print(x) - y0 <- lapply(x, FUN = listenv::map) + y0 <- lapply(x, FUN = listenv::mapping) str(list(y0 = y0)) for (strategy in strategies) { @@ -97,7 +97,7 @@ if (requireNamespace("future.apply", quietly = TRUE)) { stopifnot(nbrOfWorkers() < Inf) for (scheduling in list(FALSE, TRUE)) { - y <- future_lapply(x, FUN = listenv::map, future.scheduling = scheduling) + y <- future_lapply(x, FUN = listenv::mapping, future.scheduling = scheduling) str(list(y = y)) stopifnot(identical(y, y0)) }