-
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
Possible to bump the file size allowed on Quarto Pub for an R Shinylive App? #10
Comments
@georgestagg Is there a way to detect if we're publishing? To avoid Quarto Pub from hosting so many files of the same time, could we inject/require CND hooks for shinylive? (IDK if that would be implemented in the quarto extension or within |
I don't think so, but happy to be corrected. Currently, I think shinylive just always expects to find the As James suggests, it would be nice to modify the Quarto extension so that the Pyodide assets are only deployed if a Python app is used somewhere. However, as we have discussed this is trickier than it first sounds. I think we need to think more about the general question of whether a particular shinylive deployment should bundle all the required assets as part of the output for standalone hosting, or instead use CDNs for everything to reduce the total bundle filesize. One could even imagine hybrid schemes where the webR/Pyodide engine is loaded via CDN, but the required R/Python packages are bundled in the output. I can see arguments for both methods, and the right solution is probably to offer the option to the end user in some way. I think the best balance of de-duplication vs. customisation for shinylive apps deployed to Quarto Pub would probably be the hybrid scheme where webR/Pyodide is loaded from CDN, with only the specific R/Python packages that are used in the app bundled in the output. |
When I try to deploy a single R Shiny app created using Shinylive onto Quarto Pub, I'm getting a max publish size error of:
From the README file's known limitations, I'm guessing the upload size hiccup is due to the inclusion of
pyodide
andpyright
.Full error trace of upload error
The text was updated successfully, but these errors were encountered: