Closed ChloeRN closed 1 year ago
There seem to be a few workarounds to the issue: 1) Disable caching for relevant chapter and build all chapters separately: https://github.com/rstudio/bookdown/issues/15 2) Manually save and import the widget in interactive sessions: arc2r/book#31 (they mention the problem does not occur with GitHub actions) 3) Potentially: using a newer tmap::view_map function: https://github.com/r-tmap/tmap-book/issues/17
Fixed in #46
Reverts NINAnor/NIviz#44 We have to go a step back because the addition of the interactive leaflet map screws up the building of the book. This one was a bit tricky to pin down, but it looks like there is an issue with interactive html widget (e.g. leaflet maps) going into a temporary directory, which is then no longer available at the crucial step in the book building. This means that chapters may be built individually but building the whole book at once will break down. https://github.com/rstudio/bookdown/issues/15