quarto-ext / shinylive

Quarto extension to embed Shinylive for Python applications
https://quarto-ext.github.io/shinylive/
MIT License
151 stars 8 forks source link

Question: how to use custom repos #47

Open pawelru opened 7 months ago

pawelru commented 7 months ago

Hi! I do want to use development version of my package for which WASM binaries are available on r-universe. How can I pass repo url so that it is used when installing packages in webR? Ideally, I'm looking for a global configuration entry in the _quarto.yaml file - similar to quarto-webr extension.

pawelru commented 7 months ago

More generally, I'm looking forward for a way how to pass R options and/or env vars into a particular shinylive code chunk. For this request this would be repos option but I can definitely imagine other problems which would this. Currently I need to introduce some piece of code (e.g. repos setter) into the app chunk which is something I would like to avoid - especially that I'm showing the source code in the editor panel.