Lightweight Templating
sprintf_named.RdVersion of the sprintf base R function that adds basic templating – https://stackoverflow.com/a/55423080/2047693.
Details
Because this is based on the sprintf function, use %% when you
would like a single % to appear in the template. However, when
supplying a single % to a named argument will result in a single
% in the output.
You can use syntactically invalid names for arguments by enclosing them in backticks in the argument list, but not in the template.