shinyforms icon indicating copy to clipboard operation
shinyforms copied to clipboard

writing to STORAGE_TYPES$GOOGLE_SHEETS works with non empty googlesheet

Open konradmayer opened this issue 8 years ago • 1 comments

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.

konradmayer avatar Apr 26 '17 08:04 konradmayer

Yes you're right, that will be mentioned in the docs, thank you On Apr 26, 2017 04:00, "konradmayer" [email protected] 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 .

daattali avatar Apr 26 '17 16:04 daattali