# NOT RUN {
if(interactive()){
shinyApp(ui = shinyUI(
fluidPage(actionButton("haha", "haha"))
), server = function(input, output, session){
observeEvent(input$haha,
shinyCheckPkg(session, cran_pkg = c("pkg1", "pkg2"),
bioc_pkg = "bioxxx", github = "user1/pkg1"))
})
}
# }
Run the code above in your browser using DataLab