Skip to contents

Removes a user-registered template from the session registry. Built-in templates are immutable and cannot be unregistered.

Usage

unregister_spec_template(name)

Arguments

name

Character scalar name of the custom template to remove.

Value

Invisibly returns TRUE upon successful removal.

Examples

my_spec <- new_spec_ir(hierarchy = list(levels = 1L, n_obs = 100L))
register_spec_template("temp_tpl_ex", my_spec)
unregister_spec_template("temp_tpl_ex")