--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at https://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.
I've been dealing with similar issues lately and I've found the crux of the issue is that the rmarkdown template html_document (or html_document_base), contains a bunch of machinery for detecting and embedding the needed javascript libraries for HTML widgets like visNetwork. This occurs in post-processing after knitting but before pandoc conversion. (It's where the --include-in-header part of the pandoc call comes from.) It's hard to get around this and separate the knitting from the HTML conversion for this case. One option is to modify the html_document(_base) template to include a Jekyll YAML header, so you a put a pre-rendered HTML file in your jekyll site rather than an .md but still have the appropriate metadata.