-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add feature/instructions for additional R packages #9
Comments
So I found a way to add additional packages! It should be in the documentation as it will be a common question from people... You can install many, but not all, R packages. The ones available are at https://repo.r-wasm.org/ and you can add them to your app.R script using the line
|
Thank you for the reprex and approach! |
Hello, Thank you for this discussion, it saved me ^^ IMHO a point is not clear in the documentation. After reading it, I tried |
@stla I'm in the middle of a different PR that I do not want to exit from. Would you mind making a PR to the readme? (Thank you in advance!) |
Ok - will do. |
I think the There is surely a way to automatically handle that, something like (I don't know) |
I am working on a PR for shinylive assets that will handle the When that is merged, I'll remove the readme documentation suggesting to use |
There's no wish to use possibly different package versions with WebR in the future? Like |
From #16 (comment)
Yes, it'll behave similar to an renv snapshot. Currently all packages are the latest. Using the above approach will pull the in the packages statically. 1. reducing start up time. 2. freezing the packages being loaded. |
Original bug fixed in posit-dev/shinylive#68 Reduced comment in #21 as Closing. |
I see the python version is able to add required packages such as plotly. Ideally, I would like to be able to use CRAN and GitHub packages in this format. I would also like to see how to handle data objects in readme or vignette.
The text was updated successfully, but these errors were encountered: