From bc00336b8b7226e3272c48cbc11fe53b7da4b4df Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Wed, 3 Jul 2024 08:11:49 +0200 Subject: [PATCH] NEWS: refresh --- .github/workflows/covr.yaml | 2 +- DESCRIPTION | 2 +- NEWS.md | 5 ++++- tests/mirai_cluster,worker-termination.R | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/covr.yaml b/.github/workflows/covr.yaml index dd50eeb..81af6c7 100644 --- a/.github/workflows/covr.yaml +++ b/.github/workflows/covr.yaml @@ -67,7 +67,7 @@ jobs: ## https://app.codecov.io/gh///settings ## 2. Set 'CODECOV_TOKEN' in GitHub Secrets: ## https://github.com///settings/environments/ - coverage <- covr::package_coverage() + coverage <- covr::package_coverage(quiet = FALSE) print(coverage) covr::codecov(coverage = coverage, token="${{secrets.CODECOV_TOKEN}}") shell: Rscript {0} diff --git a/DESCRIPTION b/DESCRIPTION index 389c3c3..c324847 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: future.mirai -Version: 0.2.1.9000 +Version: 0.2.1.9002 Depends: future Imports: diff --git a/NEWS.md b/NEWS.md index 8429ce8..6d0f421 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,10 @@ # Version (development version) - * ... +## Miscellaneous + * Internal updates for **mirai** (>= 1.1.0), e.g. `mirai::daemons()` + argument `resilience` is being removed. + # Version 0.2.1 diff --git a/tests/mirai_cluster,worker-termination.R b/tests/mirai_cluster,worker-termination.R index 3fb8f22..9e7a3a4 100644 --- a/tests/mirai_cluster,worker-termination.R +++ b/tests/mirai_cluster,worker-termination.R @@ -25,6 +25,8 @@ if (.Platform$OS.type != "windows") { ## cf. https://github.com/HenrikBengtsson/future.mirai/issues/7 nworkers <- tryCatch(nbrOfWorkers(), error = identity) print(nworkers) + + ## If a valid result, then validate the value if (!inherits(nworkers, "error")) { message("Number of workers: ", nworkers) message("Expected number of workers: ", all - 1L)