TRUE display when shiny files are split into different folders

I have a brilliant app using shinydashboard package.

At first I had all the files as 3 files - global.R, server.R, ui.R.

When the files got bigger and messier, I took out the codes for each menu and put them in a separate folder. (splitting brilliant files - http://shiny.rstudio.com/articles/scoping.html )

everything works, but something annoying there - it displays "TRUE" at the bottom of the menu, which I divide into separate folders.

If everything is in only one large file, it does not display TRUE.

Does anyone know why this is happening?

functionally, everything is the same.

+4
source share
1 answer

, source : value, R- , visible, , . TRUE, , , .

, value .

source("file.R", local = TRUE)

source("file.R", local = TRUE)$value

+9

All Articles