Published March 20, 2025
| Version v2.2.0
Software
Open
shikokuchuo/mirai: mirai 2.2.0
Description
Behavioural Changes
- Simplified SSH tunnelling for distributed computing:
ssh_config()
argument 'port' is removed, with the tunnel port now inferred at the time of launch, and no longer set by the configuration.local_url()
adds logical argument 'tcp' for easily constructing an automatic local TCP URL when settingdaemons()
for SSH tunnelling.
New Features
- Adds
as.promise()
method for 'mirai_map' objects. This will resolve upon completion of the entire map operation.
Updates
- mirai (in R >= 4.5) is now one of the official base R parallel cluster types.
register_cluster()
is removed as no longer required.- Directly use
parallel::makeCluster(type = "MIRAI")
to create a 'miraiCluster'.
call_mirai()
is now user-interruptible, consistent with all other functions in the package.call_mirai_()
is hence redundant and now deprecated.
with()
method fordaemons()
now propagates ".compute" so that this does not need to be specified in functions such asmirai()
within thewith()
clause.mirai()
arguments...
and.args
now accept environments containing variables beginning with a dot.
(#207).- 'miraiError' stack traces no longer sometimes contain an additional (internal) call (#216).
- 'miraiError' condition
$call
objects are now stripped of 'srcref' attributes (thanks @lionel-, #218). - A mirai promise now rejects in exactly the same way whether or not the mirai was already resolved at time of creation. This avoids Shiny deep stack trace errors when the mirai had already resolved (#229).
daemons()
calls that error due to the remote launcher no longer leave the compute profile set up (#237).
Files
shikokuchuo/mirai-v2.2.0.zip
Files
(420.7 kB)
Name | Size | Download all |
---|---|---|
md5:2310b201dccd4283c9a1784950dd7ff9
|
420.7 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/shikokuchuo/mirai/tree/v2.2.0 (URL)
Software
- Repository URL
- https://github.com/shikokuchuo/mirai