Skip to content

Commit

Permalink
CRAN release 0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jan 17, 2023
1 parent fe83926 commit 23f9f79
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Package: mirai
Type: Package
Title: Minimalist Async Evaluation Framework for R
Version: 0.7.1.9000
Version: 0.7.2
Description: Lightweight parallel code execution, local or distributed across
the network. Designed for simplicity, a 'mirai' evaluates an arbitrary
expression asynchronously, resolving automatically upon completion.
Built on 'nanonext' and 'NNG' (Nanomsg Next Gen), uses scalability protocols
not subject to R connection limits and transports faster than TCP/IP where
suitable.
applicable.
Authors@R:
c(person(given = "Charlie",
family = "Gao",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mirai 0.7.1.9000 (development)
# mirai 0.7.2

* Internal performance enhancements.

Expand Down
2 changes: 1 addition & 1 deletion R/mirai-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#' asynchronously, resolving automatically upon completion. Built on
#' 'nanonext' and 'NNG' (Nanomsg Next Gen), uses scalability protocols not
#' subject to R connection limits and transports faster than TCP/IP where
#' suitable.
#' applicable.
#'
#' @section Notes:
#'
Expand Down
2 changes: 1 addition & 1 deletion R/mirai.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ server <- function(.url, daemon = TRUE) {
repeat {
ctx <- context(sock)
envir <- recv(ctx, mode = 1L)
data <- tryCatch(eval(expr = .subset2(envir, ".expr"), envir = envir),
data <- tryCatch(eval(expr = .subset2(envir, ".expr"), envir = envir, enclos = NULL),
error = mk_mirai_error, interrupt = mk_interrupt_error)
send(ctx, data = data, mode = 1L)
close(ctx)
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Lightweight parallel code execution, local or distributed across the network.

Designed for simplicity, a 'mirai' evaluates an arbitrary expression asynchronously, resolving automatically upon completion.

Built on 'nanonext' and 'NNG' (Nanomsg Next Gen), uses scalability protocols not subject to R connection limits and transports faster than TCP/IP where suitable.
Built on 'nanonext' and 'NNG' (Nanomsg Next Gen), uses scalability protocols not subject to R connection limits and transports faster than TCP/IP where applicable.

`mirai()` returns a 'mirai' object immediately. 'mirai' (未来 みらい) is Japanese for 'future'.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ asynchronously, resolving automatically upon completion.

Built on ‘nanonext’ and ‘NNG’ (Nanomsg Next Gen), uses scalability
protocols not subject to R connection limits and transports faster than
TCP/IP where suitable.
TCP/IP where applicable.

`mirai()` returns a ‘mirai’ object immediately. ‘mirai’ (未来 みらい) is
Japanese for ‘future’.
Expand Down Expand Up @@ -104,15 +104,15 @@ result.

``` r
m$data |> str()
#> num [1:100000000] 3.4466 -0.0537 14.3201 -0.506 -0.1256 ...
#> num [1:100000000] 8.479 -0.754 -0.528 1.056 -13.149 ...
```

Alternatively, explicitly call and wait for the result using
`call_mirai()`.

``` r
call_mirai(m)$data |> str()
#> num [1:100000000] 3.4466 -0.0537 14.3201 -0.506 -0.1256 ...
#> num [1:100000000] 8.479 -0.754 -0.528 1.056 -13.149 ...
```

[« Back to ToC](#table-of-contents)
Expand Down
2 changes: 1 addition & 1 deletion man/mirai-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23f9f79

Please sign in to comment.