createWebDependency: Create a web dependency

Description Usage Arguments Value

View source: R/html-deps.R

Description

Ensure that a file-based HTML dependency (from the htmltools package) can be served over Shiny's HTTP server. This function works by using addResourcePath to map the HTML dependency's directory to a URL.

Usage

1
createWebDependency(dependency)

Arguments

dependency

A single HTML dependency object, created using htmlDependency. If the src value is named, then href and/or file names must be present.

Value

A single HTML dependency object that has an href-named element in its src.


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