applyTemplate: Applies a provided template string to a list of arguments....

Description Usage Arguments Value

View source: R/templates.R

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

1
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.


shiny.pwa documentation built on June 19, 2021, 5:06 p.m.