You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as makepathStars is created the file in a temporary directory.
I opened here because it was easier for me to build a mapview example, and I don't know if there could be other HTML dependencies in mapview with the same problem
FWIW, This is related to another issue we had with leaflet and leaflet.providers that did not support caching with knitr due to same usage of HTML dependency being in temporary directory
Initially, this comes from a report in Quarto: quarto-dev/quarto-cli#9058
Here is a reprex with mapview
You can run this once (using knit button to run in a background R session), which will cache the chunk. But on subsequent runs, you'll get an error.
What happens is that it will try to load what is cached, and as it is using another R session temp directory for one of its dependency.
This comes from
mapview/R/raster.R
Lines 124 to 127 in f35e32f
and so from leafem :
https://github.com/r-spatial/leafem/blob/6d6831352038b8f7462ff7afa698050c4e46fb5e/R/imagequery.R#L77
https://github.com/r-spatial/leafem/blob/6d6831352038b8f7462ff7afa698050c4e46fb5e/R/utils.R#L65-L80
as
makepathStars
is created the file in a temporary directory.I opened here because it was easier for me to build a mapview example, and I don't know if there could be other HTML dependencies in mapview with the same problem
FWIW, This is related to another issue we had with leaflet and leaflet.providers that did not support caching with knitr due to same usage of HTML dependency being in temporary directory
Hope this helps understand the issue. Happy to clarify or discuss any feedback you may have on this.
The text was updated successfully, but these errors were encountered: