Skip to content

Commit 170d021

Browse files
authored
mirai 2.4.1
1 parent e9598a8 commit 170d021

20 files changed

+72
-64
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: mirai
33
Title: Minimalist Async Evaluation Framework for R
4-
Version: 2.4.0.9004
4+
Version: 2.4.1
55
Authors@R: c(
66
person("Charlie", "Gao", , "[email protected]", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0002-0750-061X")),

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# mirai (development version)
1+
# mirai 2.4.1
22

33
#### New Features
44

55
* Reproducible parallel RNG by setting the `seed` argument to `daemons()`:
66
+ The default `NULL` uses L'Ecuyer-CMRG RNG streams advanced per daemon, the same as base R's parallel package, which produces statistically-sound yet generally non-reproducible results.
7-
+ Setting an integer seed now initializes a global L'Ecuyer-CMRG RNG stream, which is advanced for each mirai evaluation, which does provide reproducible results.
7+
+ Setting an integer seed now initializes a L'Ecuyer-CMRG RNG stream for the compute profile, which is advanced for each mirai evaluation, which does provide reproducible results.
88

99
#### Updates
1010

R/daemons.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@
5454
#' package. Results are statistically-sound, although generally
5555
#' non-reproducible, as which tasks are sent to which daemons may be
5656
#' non-deterministic, and also depends on the number of daemons.
57-
#' \cr (experimental) supply an integer value to instead initialize a global
58-
#' L'Ecuyer-CMRG RNG stream on host. This is advanced for each mirai
59-
#' evaluation, hence allowing for reproducible results, as the random seed is
60-
#' always associated with a given mirai, independently of where it is
57+
#' \cr (experimental) supply an integer value to instead initialize a
58+
#' L'Ecuyer-CMRG RNG stream for the compute profile. This is advanced for each
59+
#' mirai evaluation, hence allowing for reproducible results, as the random
60+
#' seed is always associated with a given mirai, independently of where it is
6161
#' evaluated.
6262
#' @param serial \[default NULL\] (optional, requires dispatcher) a
6363
#' configuration created by [serial_config()] to register serialization and

README.Rmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,19 @@ mirai is designed from the ground up to provide a production-grade experience.
136136

137137
mirai features the following core integrations, with usage examples in the linked vignettes:
138138

139-
[<img alt="R parallel" src="https://www.r-project.org/logo/Rlogo.png" width="40" height="31" />](https://mirai.r-lib.org/articles/mirai-xparallel.html) &nbsp; Provides the first official alternative communications backend for R, implementing the 'MIRAI' parallel cluster type, a feature request by R-Core at R Project Sprint 2023.
139+
[<img alt="R parallel" src="https://www.r-project.org/logo/Rlogo.png" width="40" height="31" />](https://mirai.r-lib.org/articles/v04-parallel.html) &nbsp; Provides the first official alternative communications backend for R, implementing the 'MIRAI' parallel cluster type, a feature request by R-Core at R Project Sprint 2023.
140140

141141
[<img alt="purrr" src="https://purrr.tidyverse.org/logo.png" width="40" height="46" />](https://purrr.tidyverse.org) &nbsp; Powers parallel map for the purrr functional programming toolkit, a core tidyverse package.
142142

143-
[<img alt="promises" src="https://solutions.posit.co/images/brand/posit-icon-fullcolor.svg" width="40" height="36" />](https://mirai.r-lib.org/articles/v3-promises.html) &nbsp; Implements next generation, event-driven promises. 'mirai' and 'mirai_map' objects are readily convertible to 'promises', and may be used directly with the promise pipe.
143+
[<img alt="promises" src="https://solutions.posit.co/images/brand/posit-icon-fullcolor.svg" width="40" height="36" />](https://mirai.r-lib.org/articles/v02-promises.html) &nbsp; Implements next generation, event-driven promises. 'mirai' and 'mirai_map' objects are readily convertible to 'promises', and may be used directly with the promise pipe.
144144

145-
[<img alt="Shiny" src="https://github.com/rstudio/shiny/raw/main/man/figures/logo.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-promises.html) &nbsp; The primary async backend for Shiny, supporting ExtendedTask and the next level of responsiveness and scalability for Shiny apps.
145+
[<img alt="Shiny" src="https://github.com/rstudio/shiny/raw/main/man/figures/logo.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v02-promises.html) &nbsp; The primary async backend for Shiny, supporting ExtendedTask and the next level of responsiveness and scalability for Shiny apps.
146146

147-
[<img alt="Plumber" src="https://rstudio.github.io/cheatsheets/html/images/logo-plumber.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-promises.html) &nbsp; The built-in async evaluator behind the `@async` tag in plumber2; also provides an async backend for Plumber.
147+
[<img alt="Plumber" src="https://rstudio.github.io/cheatsheets/html/images/logo-plumber.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v02-promises.html) &nbsp; The built-in async evaluator behind the `@async` tag in plumber2; also provides an async backend for Plumber.
148148

149-
[<img alt="torch" src="https://torch.mlverse.org/css/images/hex/torch.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-serialization.html) &nbsp; Allows Torch tensors and complex objects such as models and optimizers to be used seamlessly across parallel processes.
149+
[<img alt="torch" src="https://torch.mlverse.org/css/images/hex/torch.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v03-serialization.html) &nbsp; Allows Torch tensors and complex objects such as models and optimizers to be used seamlessly across parallel processes.
150150

151-
[<img alt="Arrow" src="https://arrow.apache.org/img/arrow-logo_hex_black-txt_white-bg.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-serialization.html) &nbsp; Allows queries using the Apache Arrow format to be handled seamlessly over ADBC database connections hosted in background processes.
151+
[<img alt="Arrow" src="https://arrow.apache.org/img/arrow-logo_hex_black-txt_white-bg.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v03-serialization.html) &nbsp; Allows queries using the Apache Arrow format to be handled seamlessly over ADBC database connections hosted in background processes.
152152

153153
[<img alt="targets" src="https://github.com/ropensci/targets/raw/main/man/figures/logo.png" width="40" height="46" />](https://docs.ropensci.org/targets/) &nbsp; Targets, a make-like pipeline tool, uses crew as its default high-performance computing backend.
154154
Crew is a distributed worker launcher extending mirai to different computing platforms, from traditional clusters to cloud services.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ m$data
7272
# do other work
7373

7474
m[]
75-
#> [1] 6
75+
#> [1] 86
7676
m$data
77-
#> [1] 6
77+
#> [1] 86
7878
```
7979

8080
`daemons()`:
@@ -154,7 +154,7 @@ experience.
154154
mirai features the following core integrations, with usage examples in
155155
the linked vignettes:
156156

157-
[<img alt="R parallel" src="https://www.r-project.org/logo/Rlogo.png" width="40" height="31" />](https://mirai.r-lib.org/articles/mirai-xparallel.html)
157+
[<img alt="R parallel" src="https://www.r-project.org/logo/Rlogo.png" width="40" height="31" />](https://mirai.r-lib.org/articles/v04-parallel.html)
158158
  Provides the first official alternative communications backend for R,
159159
implementing the ‘MIRAI’ parallel cluster type, a feature request by
160160
R-Core at R Project Sprint 2023.
@@ -163,24 +163,24 @@ R-Core at R Project Sprint 2023.
163163
  Powers parallel map for the purrr functional programming toolkit, a
164164
core tidyverse package.
165165

166-
[<img alt="promises" src="https://solutions.posit.co/images/brand/posit-icon-fullcolor.svg" width="40" height="36" />](https://mirai.r-lib.org/articles/v3-promises.html)
166+
[<img alt="promises" src="https://solutions.posit.co/images/brand/posit-icon-fullcolor.svg" width="40" height="36" />](https://mirai.r-lib.org/articles/v02-promises.html)
167167
  Implements next generation, event-driven promises. ‘mirai’ and
168168
‘mirai_map’ objects are readily convertible to ‘promises’, and may be
169169
used directly with the promise pipe.
170170

171-
[<img alt="Shiny" src="https://github.com/rstudio/shiny/raw/main/man/figures/logo.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-promises.html)
171+
[<img alt="Shiny" src="https://github.com/rstudio/shiny/raw/main/man/figures/logo.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v02-promises.html)
172172
  The primary async backend for Shiny, supporting ExtendedTask and the
173173
next level of responsiveness and scalability for Shiny apps.
174174

175-
[<img alt="Plumber" src="https://rstudio.github.io/cheatsheets/html/images/logo-plumber.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-promises.html)
175+
[<img alt="Plumber" src="https://rstudio.github.io/cheatsheets/html/images/logo-plumber.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v02-promises.html)
176176
  The built-in async evaluator behind the `@async` tag in plumber2; also
177177
provides an async backend for Plumber.
178178

179-
[<img alt="torch" src="https://torch.mlverse.org/css/images/hex/torch.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-serialization.html)
179+
[<img alt="torch" src="https://torch.mlverse.org/css/images/hex/torch.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v03-serialization.html)
180180
  Allows Torch tensors and complex objects such as models and optimizers
181181
to be used seamlessly across parallel processes.
182182

183-
[<img alt="Arrow" src="https://arrow.apache.org/img/arrow-logo_hex_black-txt_white-bg.png" width="40" height="46" />](https://mirai.r-lib.org/articles/mirai-serialization.html)
183+
[<img alt="Arrow" src="https://arrow.apache.org/img/arrow-logo_hex_black-txt_white-bg.png" width="40" height="46" />](https://mirai.r-lib.org/articles/v03-serialization.html)
184184
  Allows queries using the Apache Arrow format to be handled seamlessly
185185
over ADBC database connections hosted in background processes.
186186

cran-comments.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@
44

55
## revdepcheck results
66

7-
We checked 12 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
7+
We checked 15 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
88

99
* We saw 0 new problems
1010
* We failed to check 1 packages
11+
12+
Issues with CRAN packages are summarised below.
13+
14+
### Failed to check
15+
16+
* teal (NA)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)