Package 'rho.compute'

Title: Rho Mirai Compute Backend
Description: Provides typed expression and function-call specifications for asynchronous evaluation in mirai workers. Worker failures resolve as typed error values and language objects are preserved across the promise bridge.
Authors: Sounkou Mahamane Toure [aut, cre]
Maintainer: Sounkou Mahamane Toure <[email protected]>
License: MIT + file LICENSE
Version: 0.0.1.9001
Built: 2026-07-21 22:50:20 UTC
Source: https://github.com/RGenomicsETL/Rho

Help Index


Typed compute specifications and the mirai backend

Description

RhoComputeExpressionSpec carries captured R code plus an explicit named argument list. RhoComputeCallSpec carries a worker function plus explicit arguments, avoiding dynamically injected globals in calling packages. rho_submit_compute() is the backend extension point. The convenience functions rho_mirai_eval() and rho_mirai_call() construct the respective specifications and return RhoMiraiTask values.

Details

Worker failures resolve as RhoComputeErrorValue; they are values that downstream packages may translate through S7 dispatch.