Block registry
available_blocks.Rd
List available blocks.
Usage
available_blocks()
block_name(blocks = available_blocks())
block_descr(blocks = available_blocks())
register_block(
constructor,
name,
description,
classes,
input,
output,
package = NA_character_,
category = "uncategorized"
)
register_blocks(
constructor,
name,
description,
classes,
input,
output,
package = NA_character_,
category = "uncategorized"
)
unregister_blocks(ids = NULL, package = NULL)
construct_block(block, ...)
Arguments
- blocks
Block description object(s)
- constructor
Block constructor
- name, description
Metadata describing the block
- classes
Block classes
- input, output
Object types the block consumes and produces
- package
Package where block is defined
- category
Useful to sort blocks by topics. If not specified, blocks are uncategorized.
- ids
Character vector of block IDs (first entry in class attribute)
- block
Block name or description object
- ...
Forwarded to
register_block()