pr_comment | R Documentation |
The files touchstone/header.R
and touchstone/footer.R
allow you to modify
the PR comment. The files will be evaluated in the context of
benchmark_analyze()
and should return one string containing the text.
You can use github markdown e.g. emojis like :tada: in the string.
Available variables for glue substitution:
ci: confidence interval
branches: BASE and HEAD branches benchmarked against each other.
There are no special variables available in the footer.
You can access the benchmark results via path_pr_comment()
.
base::eval()
base::parse()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.