singleton: Include content only once

Description Usage Arguments

Description

Use singleton to wrap contents (tag, text, HTML, or lists) that should be included in the generated document only once, yet may appear in the document-generating code more than once. Only the first appearance of the content (in document order) will be used.

Usage

1
2
3
singleton(x, value = TRUE)

is.singleton(x)

Arguments

x

A tag, text, HTML, or list.

value

Whether the object should be a singleton.


ymd526442121/Rproject_shiny documentation built on May 4, 2019, 5:31 p.m.