stringTemplate: Evaluate a string template

View source: R/utils.R

stringTemplateR Documentation

Evaluate a string template

Description

Processes a string template in the htmlTemplate format into a valid string with no placeholders. The string must use the htmlTemplate format, meaning placeholders are marked using the placeholder convention.

Usage

stringTemplate(string, ...)

Arguments

string

The string template. Uses the same format as the htmlTemplate function from shiny. placeholders in the template should use the placeholder format.

...

Named arguments to use in the template string. All placeholders in the template string must have a corresponding named argument.

Value

A string.


imola documentation built on April 19, 2022, 5:09 p.m.