-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I was trying to update the shiny app you can find here: https://r-poloni.github.io/exabase_visualiser/
This app works perfectly fine also in local mode, if I clone the repository (https://github.com/r-poloni) and inside it I run on the R studio console:
httpuv::runStaticServer("docs")
However, if I remove the docs folder, and I do again the export, without modifying a single code line:
shinylive::export(appdir = "app", destdir = "docs")
When I try the static site I end up with a not working page and plenty of errors if I go the the webpage console.
I updated R version because some libraries I had installed were in conflict with the ones available on webR, so I thought that this could be the problem, but I feel it's a quite complex problem of compatibility.
This is the console output beginning:
Service Worker registered
Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
The WebAssembly exception handling 'try' instruction is deprecated and should no longer be used. Please recompile to use the 'try_table' instruction instead.
WebR is using PostMessage communication channel, nested R REPLs are not available.
preload echo:
preload echo:R version 4.4.1 (2024-06-14) -- "Race for Your Life"
and this is the end:
preload error:Downloading webR package: ggplot2
preload error:Error: package or namespace load failed for ‘dplyr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
preload error: there is no package called ‘pillar’
preload error:Error: object 'app_o2aby7xajqmlsxab4bry' not found
Uncaught (in promise) Error: Unexpected response type: "null", expected "list".
handleHttpuvRequests http://127.0.0.1:7446/shinylive/shinylive.js:32284
GET http://127.0.0.1:7446/app_o2aby7xajqmlsxab4bry/
I really don't know if the issue could be resolved by changing versions or something similar, but it should be this complicate I think. The shinylive package should work with an up-to-date R version and that's why I am reporting it.