get_code_tree: track which files of code are called by which oher files

View source: R/code_tree.R

get_code_treeR Documentation

track which files of code are called by which oher files

Description

track which files of code are called by which oher files

Usage

get_code_tree()

reset_code_tree(root_file = "main.R")

Arguments

root_file

the name of the code file you want to use as the initial root for code tree

Details

each time the cctu function source is called, an internal data frame is appended with the parent file that called source, and the child file that was sourced.

You can reset the code_tree or examine it, but not directly edit it. It is reset automatically if cctu_initialise is called.

Value

the data file containing two variables: parent ; child.

Functions

  • reset_code_tree(): reset the internal code_tree object to have no entries

See Also

cctu_initialise


shug0131/cctu documentation built on Nov. 10, 2023, 12:03 p.m.