Multiple (related) blocks can be grouped together into stacks. Such a
grouping has no functional implications, rather it is an organizational tool
to help users manage more complex pipelines. Stack objects constitute a set
of attributes, the most important of which is blocks (a character vector
of block IDs). Each stack may have an arbitrary name and the class can
be extended by adding further attributes, maybe something like color,
coupled with sub-classing.
Stack container objects (stacks objects) can be created with stacks()
or as_stacks() and inheritance can be tested via is_stacks(). Further
basic operations such as concatenation, subsetting and sub-assignments is
available by means of base R generics.