Learn R Programming

htmltools (version 0.2.6)

htmlDependencies: HTML dependency metadata

Description

Gets or sets the HTML dependencies associated with an object (such as a tag).

Usage

htmlDependencies(x)

htmlDependencies(x) <- value

attachDependencies(x, value)

Arguments

x
An object which has (or should have) HTML dependencies.
value
An HTML dependency, or a list of HTML dependencies.

Details

attachDependencies provides an alternate syntax for setting dependencies and is essentially equivalent to local({htmlDependencies(x) <- value; x}).