Interpolate R expressions into a string, like 'Python' f-strings. Anything inside curly braces is evaluated in the calling environment and inserted into the string. Doubled braces are treated as a single literal brace.
Usage
f(..., .envir = parent.frame())Value
A character vector the same length as the input, with every
{expr} replaced by its evaluated, comma-collapsed value.
Note
f is also a popular name for throwaway functions, so be aware it may
mask (or be masked by) a local f of your own.
Author
Ben Wiseman, benjamin.h.wiseman@gmail.com