Skip to contents

A set of blocks can be assembled into a stack.

Usage

new_stack(..., title = "Stack", name = rand_names())

is_stack(x)

get_stack_name(x)

set_stack_name(x, name)

set_stack_title(x, title)

get_stack_title(x)

# S3 method for class 'stack'
generate_code(x)

serve_stack(stack, id = "my_stack")

Arguments

...

An ordered set of blocks (each argument is required to inherit from "block")

title

Stack title

name

Stack name

x

An object inheriting form "stack"

stack

An object inheriting form "stack"

id

Stack ID