# NOT RUN {
# remove myapp when the example is complete
on.exit(unlink("myapp", recursive = TRUE, force = TRUE))
# create the shiny app example (template)
genShinyApp.template(appDir = "myapp")
# run the shiny app
if (requireNamespace("shiny", quietly=TRUE)) {
library(shiny)
# runApp("myapp") # Won't launch in environments without browsers
}
# }
Run the code above in your browser using DataLab