create_table_of_contents.Rd
Given a path to an R script, creates a
table of contents by searching for
section headers of the form:
#### X) Label ####
where X
is a
numbering scheme (e.g.,1, 2.1, 3.2.1)
with periods denoting nested sub-sections.
create_table_of_contents(file_path)
An absolute path to the R script.
Outputs a message to the R console window with the table of contents.