Enable tabs in Shiny documents?

In my RMarkdown documents, I use tabs to separate sections (using #{.tabset}). It works well. When I run a shiny document however (using rmarkdown::run), these won't work, and the sections appear one after the other on the same page, despite the {.tabset} specification. Is there a way to "tabify" a Shiny document?

1 Like

@jerome This appears to be a bug that was recently introduced in rmarkdown version 1.12. This bug report from early May describes the problem. @rlesur and @yihui fixed the bug yesterday in PR #1587, and I confirmed that the current version on GitHub supports tabsets with the shiny runtime. Try installing from GitHub to see if that fixes your problem:

remotes::install_github("rstudio/rmarkdown")
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.