combine_updates: Combine multiple update lists into one atomic update payload

View source: R/updates.R

combine_updatesR Documentation

Combine multiple update lists into one atomic update payload

Description

Convenience helper for transition() implementations that need to apply multiple update sources (e.g., scalar tweaks plus one or more block updates). The function concatenates named lists and errors if any variable is updated more than once within the same event.

Usage

combine_updates(...)

Arguments

...

One or more named lists of updates (or NULL).

Value

A single named list of updates, or NULL if all inputs are NULL.


fluxCore documentation built on Sept. 22, 2026, 5:07 p.m.