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

Add some guidance to user regarding interactive documents #2564

Open
cderv opened this issue Jul 24, 2024 · 0 comments
Open

Add some guidance to user regarding interactive documents #2564

cderv opened this issue Jul 24, 2024 · 0 comments
Labels
theme: shiny regarding shiny support in R Markdown document

Comments

@cderv
Copy link
Collaborator

cderv commented Jul 24, 2024

The runtime: shiny vs runtime: shinyrmd distinction is really subtle for someone writing interactive documents.

There are examples where a server.R and ui.Rmd but use runtime: shiny rather than runtime: 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 mean runtime: shinyrmd
  • server: shiny should be used now (instead of runtime: shinyrmd

Adding this note to log and remember this possible improvement.

@cderv cderv added the theme: shiny regarding shiny support in R Markdown document label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: shiny regarding shiny support in R Markdown document
Projects
None yet
Development

No branches or pull requests

1 participant