Closed charliejhadley closed 8 years ago
Thank you @martinjhnhadley for taking a look at this and taking the initiative to fix! Your PR made me look a bit deeper into why it was failing in rmarkdown when I made sure to include all the relevant resources for the timeline module. I really wanted to "keep it clean" and not include any network module resources. Turns out the problem was that the CSS file had some rules that were referring to these network images, and even though those rules were never used in timelines, rmarkdown didn't like them being there at all. So instead of accepting this PR, I ended up just removing the network-specific CSS rules. Thank you for getting the ball rolling on fixing this :)
Both CRAN and the development version of the library are missing the following directory from the vis.js library (from http://visjs.org/download/vis.zip)
This results in failures when attempting to knit together a .Rmd file containing a
timevis
visualisation. Inserting these files into your library fixes the issue