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

Description Usage Arguments Details

View source: R/diff_report.R

Description

Compare an edited report template to the standard report template

Usage

1
diff_report(analysis, file_path, submit_diff = FALSE)

Arguments

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

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. 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.


leekgroup/sig2trial documentation built on May 20, 2019, 11:31 p.m.