knit_expand: A simple macro preprocessor for templating purposes
Description
This function expands a template based on the R
expressions in {{}} (this tag can be customized by
the delim argument). These expressions are
extracted, evaluated and replaced by their values in the
original template.