diff_template: Compare an edited report template to the standard report...

Description Usage Arguments Details Value

Description

Compare an edited report template to the standard report template

Usage

1
diff_template(analysis, file_path)

Arguments

analysis

A character string specifing the desired analysis template. Current options are: "tsp".

file_path

A character string specifying the path to the edited template file.

Details

This function uses diffr and htmlwidgets to render a file difference between an existing package template and a user-edited template. An HTML file is rendered and saved which displays the highlighted differences in the two files. The function will create a pop-up for the user to choose where to save the output - PLEASE name this "[filename].html" for whatever filename you choose.

Value

String with the file path for the html rendering of the diff. This can be passed to "submit_diff" if the user chooses to anonymously post their diff results to the web for easier sharing.


prpatil/tdsm documentation built on May 26, 2019, 10:32 a.m.