Create a web dependency
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
createWebDependency(dependency, scrubFile = TRUE)
A single HTML dependency object, created using
htmltools::htmlDependency(). If the
srcvalue is named, then
filenames must be present.
If TRUE (the default), remove
src$filefor the dependency. This prevents the local file path from being sent to the client when dynamic web dependencies are used. If FALSE, don't remove
src$file. Setting it to FALSE should be needed only in very unusual cases.
A single HTML dependency object that has an