I tried it using other module and the result is still the same
When I use it with module normally it works fine
library(shiny)
source('www/Modules/Main_app.R')
ui <-
main_ui('some')
# uiOutput('test')
server <- function(input, output, session) {
callModule(main_server,'some')
# output$test<-renderUI(main_ui('some'))
}
shinyApp(ui, server)
But when I try to render the module function through RenderUI it fails. It doesn't produce any error but it gives me a blank screen. I think there is something wrong with the namespaces that I Don't understand please help me out if you have any information or any resources.
This is the code
library(shiny)
source('www/Modules/Main_app.R')
ui <-
# main_ui('some')
uiOutput('test')
server <- function(input, output, session) {
callModule(main_server,'some')
output$test<-renderUI(main_ui('some'))
}
shinyApp(ui, server)
and this is the screenshot
I am sure there must be some trick that I am not able to catch please help me out or point me onto any direction.