Stages call installed exported functions; they do not evaluate script text. Scientific methods and validation remain in the called packages. Calls must return serializable values and must not mutate their inputs or write external outputs. This executor is not a sandbox: use trusted package functions only.
Usage
reflow_imaging_stage(id, package, fun, args = list(), seed = NULL)Arguments
- id
Unique stage identifier containing letters, digits, underscores.
- package
Installed package name.
- fun
Exported function name.
- args
Named list of arguments, including explicit references if needed.
- seed
Optional integer seed for stochastic calls. Calls consuming the ambient random stream without an explicit stage seed fail.