But the fonts are contained in /shared/bootstrap/fonts/, not /fonts/.
Possible paths for fixing it (and roadblocks):
Add a htmlDependency for themes, with the themes placed in /shared/bootstrap/css or /shared/bootstrap/shinythemes. However Shiny doesn't allow htmlDependencies for the theme argument; it only takes a path.
Currently, the .onLoad for shinythemes uses addResourcePath() to make the themes available at /shinythemes/. If they could be made available at /shared/bootstrap/shinythemes/, then that would fix it. However, addResourcePath() doesn't allow paths more than one level deep.
Include the fonts with shinythemes; they would be available at /fonts/.
When shinythemes is used in an application, it breaks glyphicons. These are used in Shiny's datepicker for the arrows.
Example app:
The problem is that the css for the themes contains this reference for the fonts:
But the fonts are contained in /shared/bootstrap/fonts/, not /fonts/.
Possible paths for fixing it (and roadblocks):
htmlDependency
for themes, with the themes placed in /shared/bootstrap/css or /shared/bootstrap/shinythemes. However Shiny doesn't allow htmlDependencies for thetheme
argument; it only takes a path..onLoad
for shinythemes usesaddResourcePath()
to make the themes available at /shinythemes/. If they could be made available at /shared/bootstrap/shinythemes/, then that would fix it. However,addResourcePath()
doesn't allow paths more than one level deep.