add_code_to_theme: Add code to theme in hierarchy

View source: R/annotate_gui.R

add_code_to_themeR Documentation

Add code to theme in hierarchy

Description

Adds a new code to a specific theme in the code hierarchy. The code can be added to the root level or nested within existing themes.

Usage

add_code_to_theme(node, code_name, theme_path, description = "")

Arguments

node

Root node of the hierarchy tree

code_name

Character string specifying the name of the code to add

theme_path

Character vector specifying the path to the target theme

description

Optional character string providing a description of the code

Value

Updated node with new code added


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.