我正在尝试将deploy
我闪亮的应用程序放在shinyapps.io
. 该应用程序在我的控制台中运行良好,但是当我部署我的应用程序时出现错误reactiveValues
,例如:
object 'Logged' not found
或者
Error in reactiveValues(Logged = Logged, registed = registed, Foget = Foget, : object 'Logged' not found
我的脚本超过 1000 行,因此,我不确定这是上传整个脚本的好方法,这就是为什么我决定将服务器的前几行与reactiveValues
.
赞赏!
server = (function(input, output,session) {
Logged = FALSE;
registed = FALSE;
Foget = FALSE;
Started = FALSE;
tested = FALSE;
Saved = FALSE;
USER <- reactiveValues(Logged = Logged,registed = registed, Foget=Foget, Started=Started,tested=tested,Saved=Saved)
...
...
...