Generate and Write HTML Report
generate_and_write_html.Rd
This function generates an HTML report by inserting a table of contents, embedding necessary JavaScript files, and writing the final HTML content to a specified output file.
Arguments
- toc
A string containing the table of contents in HTML format.
- html_content
A string containing the main HTML content with a placeholder for the table of contents.
- report_info
A list containing report information such as `contact_info` and `analyst_name`.
- output_file_path
A string specifying the path where the final HTML file will be written.