posit-dev / r-shinylive

https://posit-dev.github.io/r-shinylive/
Other
147 stars 15 forks source link

feat: envvar to allow downloading core packges in wasm package library #90

Closed gadenbuie closed 1 month ago

gadenbuie commented 1 month ago

Adds an envvar SHINYLIVE_DOWNLOAD_WASM_CORE_PACKAGES geared toward advanced users who want to use the development versions of packages that are included in the core set of packages used with shinylive.

The goal is that SHINYLIVE_DOWNLOAD_WASM_CORE_PACKAGES could take a list of packages that would normally not be download with the wasm package bundle because they appear in the core package list and mark them as "downloadable".

In particular, I needed this to be able to include the in-development version of bslib in workshop materials.

Some packages are patched in the r-wasm org and probably shouldn't be downloadable, but I'm also assuming that someone using this envvar will have that context. (In other words, this is an advanced usage feature.)