Skip to content
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

Interactive plots using girafeOutput are not displayed when creating static version of an R Shiny app #64

Closed
StatsDasha opened this issue Mar 14, 2024 · 3 comments

Comments

@StatsDasha
Copy link

I am encountering a problem where interactive plots generated with girafeOutput are not displayed when exporting my R Shiny app using shinylive::export. The plots work as expected in the non-exported version of the Shiny app. Additionally, the tagList functionality in renderUI is also not being displayed.

Here is a link to the app on github-pages (https://statsdasha.github.io/MO-E-EQI/).

@schloerke
Copy link
Collaborator

@georgestagg
Copy link
Collaborator

There are two problems happening in this app:

  1. An instance of the getRandom() problem that will be fixed when Mechanism to override AC_CHECK_FUNCS in Autoconf r-wasm/rwasm#32 has been merged and the affected R packages recompiled.

  2. There is a bug in webR triggered when using character.only = TRUE with library() and require() calls. I've opened an issue to track that problem here: Setting character.only = TRUE causes an error when using shimmed library() and require() r-wasm/webr#413


When I manually work around the issues above, the app otherwise seems to work!

Screenshot 2024-04-17 at 17 42 57

So, once the two issues above have been solved formally this app should start working as expected.

@georgestagg
Copy link
Collaborator

This should be working now that Shinylive 0.2.0 has been released, so I'm going to close this Issue.

Please feel free to open a fresh issue if there are still problems with your app after updating the R Shinylive package to the latest version and re-exporting your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants