HTML dependencies with rmarkdown render

Viewed 268

I have a single .Rmd that is being rendered many times with different data being displayed each time in the r chunks. I want to reuse the same html dependency directory using the lib_dir pandoc option. This works fine, but the dependencies are recreated each time render is called causing a lot of extra waiting time. Is there a way to force render to not recreate the dependencies (plotly, bootstrap, htmlwidgets, etc.)?

0 Answers
Related