daattali / shinyforms

📝 Easily create questionnaire-type forms with Shiny
Other
164 stars 65 forks source link

writing to STORAGE_TYPES$GOOGLE_SHEETS works with non empty googlesheet #26

Open konradmayer opened 7 years ago

konradmayer commented 7 years ago

writing to STORAGE_TYPES$GOOGLE_SHEETS works fine, but only with a google sheet already filled with a header-row and at least one more row. Otherwise I get an error

all(lengths == 1L | lengths == n) is not TRUE

from the function call of gs_add_row() as explained in its documentation.

so probably it would be a good thing to indicate the usage of googlesheets is also supported by your package with the current limitations of the googlesheets package.

daattali commented 7 years ago

Yes you're right, that will be mentioned in the docs, thank you On Apr 26, 2017 04:00, "konradmayer" notifications@github.com wrote:

writing to STORAGE_TYPES$GOOGLE_SHEETS works fine, but only with a google sheet already filled with a header-row and at least one more row. Otherwise I get an error

all(lengths == 1L | lengths == n) is not TRUE

from the function call of gs_add_row() as explained in its documentation.

so probably it would be a good thing to indicate the usage of googlesheets is also supported by your package with the current limitations of the googlesheets package.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daattali/shinyforms/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6IFJOgoAtj_OMY6sAlCNbgP_zpMlDuks5rzvmGgaJpZM4NIf8a .