首页 > 解决方案 > googlesheet 包不允许我在我的 Shiny App 中登录 googlesheet

问题描述

每当我尝试将我的 Shiny 应用程序连接到 Google 工作表时,我都会收到消息:暂时禁用此应用程序的 Google 登录 此应用程序尚未经过 Google 验证,以便使用 Google 登录。

它曾经可以工作,但看起来谷歌最近阻止了该应用程序。有解决方法吗?

标签: google-sheetsshinypackage

解决方案


忘记评论了。。

我尝试了 googlesheets4,它看起来很有希望。我可以访问我的 googleDrive,但我无法阅读任何表格。甚至不使用 sheet_examples,这很奇怪。

我试过了:

drive_auth(email="MyEmail@gmail.com")
sheets_auth(token = drive_token())
(DRIVE = drive_get("MySpeadSheet"))
SPE = read_sheet(DRIVE,  range = "MySheet")

我尝试了不同的方法来获取带有“read_sheet”(包括 sheet_examples)的工作表,但每次我收到以下错误:

Error in parse(df$cell, ctype, ...) : is_string(ctype) is not TRUE

推荐阅读