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.
add_code_to_theme(node, code_name, theme_path, description = "")Updated node with new code added
Root node of the hierarchy tree
Character string specifying the name of the code to add
Character vector specifying the path to the target theme
Optional character string providing a description of the code