【发布时间】:2019-09-23 02:28:57
【问题描述】:
我有一些 r 代码,但在访问闪亮仪表板中的电子表格时遇到了一些自动身份验证问题。
我已经在 VM 上设置了服务器,并且能够使 r-studio 服务器和 shiny-server 工作。现在的问题在于应用程序部署。目前我已经能够在用户会话中做到这一点。但问题不在于我被重定向到谷歌身份验证,它不允许我在服务器端执行此操作,因此执行停止。
This is shared with all googleAnalyticsR users.
If making a lot of API calls, please:
visit: XXXXXXXXXXXXX
for instructions on setting your own Google Project
2019-05-05 02:55:52> Set API cache
2019-05-05 02:55:52> No environment argument found, looked in
GA_AUTH_FILE
2019-05-05 02:55:52> No httr_oauth_cache file found at sc.httr-
oauth - creating new file.
Error in value[[3L]](cond) :
Authentication options didn't match existing session token and
not interactive session
so unable to manually reauthenticate
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
<Anonymous>
Execution halted
预期结果不会显示执行停止。 此外,在服务器本身上,它并没有真正让我真正允许这样的扩展。所以我很好奇是否有人有任何建议。如果实际 app.R 需要,我也可以提供代码。
【问题讨论】:
标签: shiny shiny-server rstudio-server