mcguinlu / robvis

A package to quickly visualise risk-of-bias assessment results
https://mcguinlu.github.io/robvis/
Other
58 stars 22 forks source link

Use {{ }} to capture bare names of function arguments #35

Closed mcguinlu closed 5 years ago

mcguinlu commented 5 years ago

Prevents the need to enclose function arguments in quotes, so you could write:

rob_summary(data, ROB2)

rather than

rob_summary(data, "ROB2")

This issue is mainly an excuse for me to play around with the new curly-curly operator, {{ }}, in rlang 4.0.0

mcguinlu commented 5 years ago

No longer relevant - additional research revealed that this is not exactly how the {{ }} operator works.