applyTemplate {shiny.pwa}R Documentation

Applies a provided template string to a list of arguments. Any arguments gives will be replaced in the template via placeholders wrapped in <<argument>>

Description

Applies a provided template string to a list of arguments. Any arguments gives will be replaced in the template via placeholders wrapped in <<argument>>

Usage

applyTemplate(template, arguments = list())

Arguments

template

A string with placeholders that can be replaced with the given arguments.

arguments

Named list with values used for the template placeholders.

Value

A string based on the template with the different arguments applied.


[Package shiny.pwa version 0.2.1 Index]