-
-
Notifications
You must be signed in to change notification settings - Fork 977
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
shiny prerendered website does not render html according to route #1576
Comments
Very interested in this issue. If this can be resolved I assume you then easily embed various @hugo-pa In case you haven't found an alternative solution yet ... I created a demo shiny app a few years ago with multiple pages/documents rendered using knitr (link below). Pages can have shiny components, quizzes, etc. and the page only needs to be rendered when you first visit (i.e., no re-rendering). It works well, but perhaps |
I run into the same issue as @hugo-pa and @schloerke originally elaborated, trying to switch from a working website with runtime:shiny to runtime:shiny_prerendered. Has there been update to resolve this issue? It would be quite nice to use the shiny_prerendered version on multipage website. |
Just checking in on the status of this issue. Have run into this a few times now. The prerendered runtime is pretty amazing and would love to be able to include it as part of an entire rmarkdown website. |
Any updates on this? Seems like a whole community of learnr champions are waiting to build amazing learning portals when this is solved. |
By filing an issue to this repo, I promise that
xfun::session_info('rmarkdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rmarkdown')
.Community Link: https://community.rstudio.com/t/rmarkdown-website-using-shiny-prerendered-documents/29333
Reprex Repo: https://github.com/hugo-pa/shiny_website_example
Issue line:
rmarkdown/R/shiny_prerendered.R
Lines 52 to 58 in 9923811
The line above is returning the original html content for the original shiny prerendered file. This does not adapt to multiple route locations that
uiPattern
accepts.I don't know of a direct solution right now as
ui
,server
, andonStart
are very connected but separate arguments.The text was updated successfully, but these errors were encountered: