Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update read_team_sheet() to use googlesheets4 #51

Open
mmc46 opened this issue Nov 19, 2019 · 6 comments
Open

Update read_team_sheet() to use googlesheets4 #51

mmc46 opened this issue Nov 19, 2019 · 6 comments

Comments

@mmc46
Copy link

mmc46 commented Nov 19, 2019

I think read_team_sheet() needs to be updated to use the new googlesheets4 package.

Currently it throws an error at the authentication stage.

Sign in with Google temporarily disabled for this app This app has not yet been verified by Google in order to use Google Sign in.

@jefferis
Copy link
Member

jefferis commented Dec 6, 2019

@SridharJagannathan if you have a moment to look at this one, would be useful. We are e.g. using these google sheets to store annotation for FIB papers.

@mmc46
Copy link
Author

mmc46 commented Dec 9, 2019

fib_pns=read_team_sheet(id='1P-ITJs9JdexIahOaU5teKaQ7fi0t5G0QOtTrAfRGwGM', team_drive = 'flyconnectome', ws = "PNs")

@SridharJagannathan
Copy link
Collaborator

Closed by #53

@mmc46
Copy link
Author

mmc46 commented Dec 10, 2019

This requires the dev version of googlesheets4
devtools::install_github("tidyverse/googlesheets4")

Otherwise it throws the error

fib_pns<-read_team_sheet(id = '1P-ITJs9JdexIahOaU5teKaQ7fi0t5G0QOtTrAfRGwGM', team_drive='flyconnectome',ws='PNs')
The googlesheets4 package is requesting access to your Google account. Select a pre-authorised account or enter '0' to obtain a new token. Press Esc/Ctrl + C to abort.
1: dascyllus3@gmail.com
2: mmc46@cam.ac.uk
Selection: 2
Error: Don't know how to coerce an object of class 'sheets_meta/list' into a 'sheets_id' 

@mmc46 mmc46 reopened this Dec 10, 2019
@jefferis
Copy link
Member

So @SridharJagannathan if that version is essential to your fix, then you need to specify a Remote pointing to the dev version.

@SridharJagannathan
Copy link
Collaborator

SridharJagannathan commented Dec 12, 2019

@mmc46 I have decided to follow an alternate strategy after discussing with @jefferis based on tidyverse/googlesheets4#74. Can you please test this after uninstalling the dev version of googlesheets4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants