I have a problem while sourcing a R script inside a tabsetPanel layer :
ui <- fluidPage(
titlePanel("Open Medic"),
tabsetPanel(type = "tabs",
tabPanel("Tab1", source("src/ui/1-tab1_ui.R"))
))
server <- function(input, output, session) {
source("src/server/1-myserver.R", local = T)
}
This code always displays a "TRUE" message. I don't have any problem if I dont use a "source" instruction.
The result can be seen there :
EDIT : The 1-tab1_ui.R content is shown below :
mainPanel( helpText("Here is the problematic message :") )
While the server.R is actually an empty "toy" file