| .interp_braces | R Documentation |
Replaces {expr} tokens in template by evaluating expr in envir.
Used in .report_api_error() / .report_api_warning() so callers can write
hints like "No data for {game_id}" and have {game_id} resolve against the
function's frame at the call-site. Per-token failures leave the literal
{expr} in place rather than erroring.
.interp_braces(template, envir = parent.frame())
template |
character(1). |
envir |
environment to evaluate expressions against. |
character(1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.