shinyMobile is particularly well suited to build shiny
gagdet. To convert an existing app to a gadget, wrap it in the
shiny::runGadget()
function.
library(shiny)
library(shinyMobile)
runGadget(shinyAppDir(system.file("examples/tab_layout", package = "shinyMobile")))