-
-
Notifications
You must be signed in to change notification settings - Fork 982
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 some guidance to user regarding interactive documents #2564
Comments
Why should? (Did you mean "server: shiny_prerendered... instead of... shinyrmd", or maybe some deprecations/changes are coming to prerendering-related technique, or smth. else?) |
I think what I meant was "should recommend" to avoid confusion. And also because on Quarto side, only
No I meant All this is just several ways to do things. It was introduced through time and can lead to confusion now. On rmarkdown side, there is no deprecation. So using What does not for sure is using Anyhow, this is documentation improvement mainly. No change coming. |
Ok, so that is for code style, I see. With a bit of misunderstanding of "...only And for now, anyway,
Superb. Thanks! |
Internally code is the same. On Quarto side, we do check only for Anyhow, I labelled it documentation issue anyway. Thanks a lot for your question to help us improve! |
The
runtime: shiny
vsruntime: shinyrmd
distinction is really subtle for someone writing interactive documents.There are examples where a
server.R
andui.Rmd
but useruntime: shiny
rather thanruntime: shinyrmd
.We could add context to
rmarkdown::run
to understand if the wrong runtime has been specified and guide the user.Especially:
server.R
+ui.Rmd
should always meanruntime: shinyrmd
server: shiny
should be used now (instead ofruntime: shinyrmd
Adding this note to log and remember this possible improvement.
The text was updated successfully, but these errors were encountered: