Description Usage Arguments Details
Compare an edited report template to the standard report template
1 | diff_report(analysis, file_path, submit_diff = FALSE)
|
analysis |
A character string specifing the desired analysis template. Current options are: "tsp". |
file_path |
A character string specifying the path of the edited template file. |
submit_diff |
Logical indicating whether or not to upload results as anonymous gist |
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. Optionally, the user may choose to upload this result as an anonymous gist. If submit_diff=TRUE, the file is automatically uploaded and a URL to the file is provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.