-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathheader.R
More file actions
13 lines (13 loc) · 642 Bytes
/
header.R
File metadata and controls
13 lines (13 loc) · 642 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# You can modify the PR comment header here. You can use github markdown e.g.
# emojis like :tada:.
# This file will be parsed and evaluate within the context of
# `benchmark_analyze` and should return the comment text as the last value.
# Available variables for glue substitution:
# * ci: confidence interval
# * branches: BASE and HEAD branches benchmarked against each other.
# See `?touchstone::pr_comment`
glue::glue(
"This is how benchmark results would change (along with a",
" {100 * ci}% confidence interval in relative change) if ",
"{system2('git', c('rev-parse', 'HEAD'), stdout = TRUE)} is merged into {branches[1]}:\n"
)