Fun new bookdown error!
Closed this issue · 5 comments
I have found a similar error here. It looks like Leaflet and Bookdown do not play nicely together. I am trying the solution (to not cache the leaflet chunks) and will let you know.... Otherwise we might need to save the leaflet maps and add them locally or just do without leaflet.
Is it this answer you are looking into: rstudio/bookdown#15 (comment)
And what PR is causing this?
Yes! - I am trying to render the book locally with Nature Index chapter. Not caching the chunks for that chapter does not work - I will try the other solutions (I do not fancy going the M-K route)
I have not managed to get this to work - in order to render the book I have switched to non-interactive figures. As such this issue still remains - I will create pull request of rendered book (with interactive set to FALSE) but I guess we need to find a stable solution....(I guess sorting out all the duplicate chunk names would be the solution but it sounds like a lot of work!!)
M-K will also cause lots of duplicated anchors (chapter names).
The Shiny approach would not have this issue either #20