Created
June 5, 2018 12:40
-
-
Save ColinFay/8cc1e8f8f0cab83a69e24ce21e141a5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet module | |
${1:name}UI <- function(id){ | |
ns <- NS(id) | |
tagList( | |
) | |
} | |
${1:name} <- function(input, output, session){ | |
} | |
library(shiny) | |
ui <- fluidPage( | |
${1:name}UI("test") | |
) | |
server <- function(input, output, session){ | |
callModule(${1:name}, "test") | |
} | |
shinyApp(ui, server) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment