R/mod_my_fifth_module.R

Defines functions mod_my_fifth_module_ui mod_my_fifth_module_server

# Module UI
  
#' @title   mod_my_fifth_module_ui and mod_my_fifth_module_server
#' @description  A shiny Module.
#'
#' @param id shiny id
#' @param input internal
#' @param output internal
#' @param session internal
#'
#' @rdname mod_my_fifth_module
#'
#' @keywords internal
#' @export 
#' @importFrom shiny NS tagList 
mod_my_fifth_module_ui <- function(id){
  ns <- NS(id)
  tagList(
    includeMarkdown(
      system.file("app/www/plop.md", package = "golemexample")
    )
  )
}
    
# Module Server
    
#' @rdname mod_my_fifth_module
#' @export
#' @keywords internal
    
mod_my_fifth_module_server <- function(input, output, session){
  ns <- session$ns
}
    
## To be copied in the UI
# 
    
## To be copied in the server
# callModule(mod_my_fifth_module_server, "my_fifth_module_ui_1")
 
ColinFay/golemexample documentation built on Oct. 3, 2019, 10:52 a.m.