posit-dev / r-shinylive

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

Upgrade default shinylive assets version to shinylive >= 0.4.1 #93

Closed willgearty closed 2 months ago

willgearty commented 3 months ago

Is there any plan to upgrade the shinylive assets any time soon? It looks like shinylive 0.3.0 would be particularly useful since it further speeds up package loading. (although, it also looks like webR was just upgraded to version 0.4.0, so maybe it would be best to wait until shinylive picks up those changes?)

gadenbuie commented 3 months ago

We will upgrade to shinylive 0.4.1 or later in the next release, which we are working towards now.

gadenbuie commented 3 months ago

In the mean time, you can use the development version of shinylive, which added support for choosing the shinylive assets version at export or via an environment variable (see #91 for details).

pak::pak("posit-dev/r-shinylive")

shinylive::export("app.R", assets_version = "0.4.1")
willgearty commented 3 months ago

Oh, that's fantastic, thanks!

gadenbuie commented 3 months ago

When this issue is closed, we should also close