Download runtime:shiny Rmarkdown report.

As I need to have renderUi in my Rmarkdown report, which must have runtime: shiny

And my shiny app will download a HTML based this Rmarkdown

Is there anyway do to do this ?