From e7a2818bf51ebab3dbd85a58abb11a0e2ea086e3 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Wed, 14 Dec 2022 09:10:22 -0800 Subject: [PATCH 01/13] Bump develop version [ci skip] --- DESCRIPTION | 2 +- NEWS.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2eec6af..411d3a9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.callr -Version: 0.8.1 +Version: 0.8.1-9000 Depends: R (>= 3.4.0), future (>= 1.23.0) diff --git a/NEWS.md b/NEWS.md index f3f2ed0..3f27b44 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# Version (development version) + + * ... + + # Version 0.8.1 [2022-12-13] ## Bug Fixes From 819624a7ce61666bae2daeae347a93a2b314ddff Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Thu, 15 Dec 2022 17:23:36 -0800 Subject: [PATCH 02/13] CLEANUP: Updated package tests to use listenv::mapping() instead listenv::map(), which is about to be deprecated --- DESCRIPTION | 2 +- tests/globals,tricky.R | 4 ++-- tests/zzz,future_lapply.R | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 411d3a9..9d9958d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.callr -Version: 0.8.1-9000 +Version: 0.8.1-9001 Depends: R (>= 3.4.0), future (>= 1.23.0) 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)) } From c9a090629c35e7bd9df6107a714a50ff2e3243c2 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Thu, 15 Dec 2022 18:17:25 -0800 Subject: [PATCH 03/13] REVDEP: Revdep check with preset env vars [ci skip] --- revdep/revdepcheck.Renviron | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 revdep/revdepcheck.Renviron 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} + From 8ff6f1c270449987c3c24b33a2d9188e8050c22b Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Wed, 19 Apr 2023 08:00:01 -0700 Subject: [PATCH 04/13] BUG FIX: If a 'callr' future failed, because the parallel processed crashed, the corresponding parallel-worker slot was never released. Related to https://github.com/HenrikBengtsson/future/issues/677 --- .gitignore | 1 + DESCRIPTION | 2 +- NEWS.md | 5 ++++- R/CallrFuture-class.R | 18 +++++++++++++++++- tests/callr,worker-termination.R | 27 +++++++++++++++++++++++++++ 5 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 tests/callr,worker-termination.R 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 9d9958d..0c77125 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.callr -Version: 0.8.1-9001 +Version: 0.8.1-9002 Depends: R (>= 3.4.0), future (>= 1.23.0) diff --git a/NEWS.md b/NEWS.md index 3f27b44..596a6e2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,9 @@ # Version (development version) - * ... +## Bug Fixes + + * If a 'callr' future failed, because the parallel processed crashed, + the corresponding parallel-worker slot was never released. # Version 0.8.1 [2022-12-13] diff --git a/R/CallrFuture-class.R b/R/CallrFuture-class.R index acd81c0..6274c08 100644 --- a/R/CallrFuture-class.R +++ b/R/CallrFuture-class.R @@ -337,7 +337,23 @@ 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 (packageVersion("future") >= "1.32.0-9006") { + if (FutureRegistry(reg, action = "contains", future = future)) { + FutureRegistry(reg, action = "remove", future = future) + } + } else { + tryCatch({ + FutureRegistry(reg, action = "remove", future = future) + }, error = identity) + } + } + + stop(ex) } if (debug) mdebugf("- callr:::get_result() ... done (after %d attempts)", ii) 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") From c5b7a19079f087c110b8491f9e694611f46ce74d Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 14:30:58 +0200 Subject: [PATCH 05/13] Modernize CITATION file --- DESCRIPTION | 2 +- NEWS.md | 2 +- inst/CITATION | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0c77125..7015580 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.callr -Version: 0.8.1-9002 +Version: 0.8.1-9003 Depends: R (>= 3.4.0), future (>= 1.23.0) diff --git a/NEWS.md b/NEWS.md index 596a6e2..674507d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## Bug Fixes - * If a 'callr' future failed, because the parallel processed crashed, + * If a 'callr' future failed, because the parallel process crashed, the corresponding parallel-worker slot was never released. 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, ", From a22b3a05e2ef83d21d172a28246df9a5ab8acbfb Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 14:31:35 +0200 Subject: [PATCH 06/13] Tweak pkgdown --- pkgdown/_pkgdown.yml | 10 ++++++---- pkgdown/_pkgdown.yml.rsp | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index aeee16b..cf48e97 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,10 @@ 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.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..78e0a94 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.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 From 50d6dee4bd089170d32fc8d60ddb30a1c97ea48d Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 14:35:01 +0200 Subject: [PATCH 07/13] CLEANUP: require latest future (>= 1.33.0) --- DESCRIPTION | 4 ++-- R/CallrFuture-class.R | 10 ++-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 7015580..698b2de 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: future.callr -Version: 0.8.1-9003 +Version: 0.8.1-9004 Depends: R (>= 3.4.0), - future (>= 1.23.0) + future (>= 1.33.0) Imports: callr (>= 2.0.3) Suggests: diff --git a/R/CallrFuture-class.R b/R/CallrFuture-class.R index 6274c08..c2bb455 100644 --- a/R/CallrFuture-class.R +++ b/R/CallrFuture-class.R @@ -342,14 +342,8 @@ await <- local({ ## Remove future from FutureRegistry? if (!process$is_alive()) { reg <- "workers-callr" - if (packageVersion("future") >= "1.32.0-9006") { - if (FutureRegistry(reg, action = "contains", future = future)) { - FutureRegistry(reg, action = "remove", future = future) - } - } else { - tryCatch({ - FutureRegistry(reg, action = "remove", future = future) - }, error = identity) + if (FutureRegistry(reg, action = "contains", future = future)) { + FutureRegistry(reg, action = "remove", future = future) } } From c131931d3e7e99be393b8e17de705dc1c330f749 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 14:35:51 +0200 Subject: [PATCH 08/13] GHA: Ubuntu 20.04 -> 22.04 --- .github/workflows/R-CMD-check.yaml | 20 ++++++++++---------- .github/workflows/covr.yaml | 4 ++-- .github/workflows/future_tests.yaml | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 63b8f3b..69c6b1c 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 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 From ed7df6b9ae6b06f66337abd465972d8de117e4bb Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 14:46:29 +0200 Subject: [PATCH 09/13] GHA: Don't check vignettes for R (< 3.5.0) --- .github/workflows/R-CMD-check.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 69c6b1c..0e0b373 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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 From a0db4c055629504049b4612b5e42cd5488fbd111 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 31 Jul 2023 15:25:58 +0200 Subject: [PATCH 10/13] pkgdown updates [ci skip] --- pkgdown/_pkgdown.yml | 2 ++ pkgdown/_pkgdown.yml.rsp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index cf48e97..7cfd7a9 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -45,6 +45,8 @@ navbar: 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 78e0a94..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") -pkgs_extra <- c("BiocParallel.FutureParam", "future.tools", "future.mapreduce", "marshal") +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 From efacd741afd397f61ba5711f5b0fb9d17ac00cbc Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Tue, 8 Aug 2023 12:48:42 +0200 Subject: [PATCH 11/13] future.callr 0.8.2 --- DESCRIPTION | 2 +- Makefile | 4 ++++ NEWS.md | 2 +- inst/WORDLIST | 42 ++++++++++++++++++++++++++++++------------ 4 files changed, 36 insertions(+), 14 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 698b2de..be4185c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.callr -Version: 0.8.1-9004 +Version: 0.8.2 Depends: R (>= 3.4.0), future (>= 1.33.0) 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 674507d..1b99bec 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# Version (development version) +# Version 0.8.2 [2023-08-08] ## Bug Fixes 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 From 8db775616ff3eb118719877f4cc1ae3d881d0361 Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Tue, 8 Aug 2023 04:46:59 -0700 Subject: [PATCH 12/13] REVDEP: Checked 11 packages [ci skip] --- revdep/README.md | 54 ++++++++++++++++++++++++---------------------- revdep/cran.md | 2 +- revdep/problems.md | 51 ++++++++++++++++++++++++++++++++++++------- 3 files changed, 72 insertions(+), 35 deletions(-) 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 + ``` + From 2b4cad364926ea8a68e88a622f90f4658869f5db Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Tue, 8 Aug 2023 13:48:53 +0200 Subject: [PATCH 13/13] future.callr 0.8.2 --- cran-comments.md | 67 +++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 41 deletions(-) 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 ✔ ```