View source: R/html_dependency.R
renderDependencies | R Documentation |
Create the appropriate HTML markup for including dependencies in an HTML document.
renderDependencies(
dependencies,
srcType = c("href", "file"),
encodeFunc = urlEncodePath,
hrefFilter = identity
)
dependencies |
A list of |
srcType |
The type of src paths to use; valid values are |
encodeFunc |
The function to use to encode the path part of a URL. The default should generally be used. |
hrefFilter |
A function used to transform the final, encoded URLs of script and stylesheet files. The default should generally be used. |
An HTML()
object suitable for inclusion in the head of an
HTML document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.