Skip to content

Commit

Permalink
adds vignettes, inheritdotparams
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Oct 2, 2023
1 parent 19717c8 commit 74ccaa0
Show file tree
Hide file tree
Showing 13 changed files with 1,183 additions and 1,088 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.RData
.Ruserdata
docs
inst/doc
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: mirai
Type: Package
Title: Minimalist Async Evaluation Framework for R
Version: 0.10.0.9018
Version: 0.10.0.9019
Description: Lightweight parallel code execution and distributed computing.
Designed for simplicity, a 'mirai' evaluates an R expression asynchronously,
on local or network resources, resolving automatically upon completion.
Expand All @@ -25,4 +25,8 @@ Depends:
Imports:
nanonext (>= 0.10.1),
parallel
Suggests:
knitr,
rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.2.3
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mirai 0.10.0.9018 (development)
# mirai 0.10.0.9019 (development)

* Implements an alternative communications backend for R, adding methods for the 'parallel' base package.
+ Fulfils a request by R Core at R Project Sprint 2023, and requires R >= 4.4 (currently R-devel).
Expand All @@ -16,6 +16,8 @@
* Reverts the trailing line break added to the end of a 'miraiError' character string.
* Deprecates the Deferred Evaluation Pipe `%>>%` in favour of a recommendation to use package `mirai.promises` for performing side effects upon 'mirai' resolution.
* Deprecated use of alias `server()` for `daemon()` is retired.
* Document dot parameters for `daemons()` and `dispatcher()` (thanks @krlmlr #79).
* Adds a 'reference' vignette, moving most of the information from the readme.
* Requires nanonext >= 0.10.1.

# mirai 0.10.0
Expand Down
2 changes: 2 additions & 0 deletions R/daemons.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#' else the low-level approach of distributing tasks to daemons equally.
#'
#' @inheritParams dispatcher
#' @inheritDotParams dispatcher token:lock
#' @inheritDotParams daemon maxtasks:cleanup
#' @param n integer number of daemons to set.
#' @param url [default NULL] if specified, the character URL or vector of URLs
#' on the host for remote daemons to dial into, including a port accepting
Expand Down
3 changes: 1 addition & 2 deletions R/dispatcher.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#' processing, using a FIFO scheduling rule, queuing tasks as required.
#'
#' @inheritParams daemon
#' @inheritDotParams daemon maxtasks idletime walltime timerstart cleanup
#' @param host the character host URL to dial (where tasks are sent from),
#' including the port to connect to (and optionally for websockets, a path),
#' e.g. 'tcp://192.168.0.2:5555' or 'ws://192.168.0.2:5555/path'.
Expand Down Expand Up @@ -50,8 +51,6 @@
#' @param pass [default NULL] (required only if the private key supplied to 'tls'
#' is encrypted with a password) For security, should be provided through a
#' function that returns this value, rather than directly.
#' @param ... additional arguments passed through to \code{\link{daemon}} if
#' launching local daemons i.e. 'url' is not specified.
#' @param monitor (for package internal use only) do not set this parameter.
#'
#' @return Invisible NULL.
Expand Down
Loading

0 comments on commit 74ccaa0

Please sign in to comment.