cloudyr / googleCloudStorageR

Google Cloud Storage API to R
https://code.markedmondson.me/googleCloudStorageR
Other
104 stars 29 forks source link

Quick check #165

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

Found that nrow didn't work because it came out as a list.

MarkEdmondson1234 commented 2 years ago

Thanks for finding this! Although I usually do this:

  out <- gar_api_page(lb, 
                      page_f = function(x) attr(x, "nextPageToken"),
                      page_method = "param", 
                      page_arg = "pageToken")

  out <- Reduce(rbind, out)

I'll commit that and close this pull request, but it should solve the issue consistent with how its handled normally.

MarkEdmondson1234 commented 2 years ago

https://github.com/cloudyr/googleCloudStorageR/commit/4bba95b61b44ebb11303e13c499cc462d528e4f7