![]() While the latter use case could (and should!) be approached by better internal organisation, perhaps some documentation on "Best practices for integrating googledrive in your package" could be nice, as there's anyway the not so straightforward and related issue of how to include app key and secret. again, I'm fine with colleagues potentially having access to a specific backup folder, but less so if access must be given to all of my Google Drive. But I understand why drive.file it doesn't work as I initially hoped.Īlso, I used this on a shared Rstudio server that is occasionally used by colleagues. Even exposes much more data than I'd need in this context. The settings might prohibit sharing outside of the domain or sharing a shared drive might. I feel I'd be asking too much trust from users by demanding access to all of their Google Drive files just to backup some files, which is why I felt the permission request as it appears in the screenshot above is less intimidating, and ultimately better-fitting. 197 languages and 248 styles automatic language detection multi-language code highlighting available for node.js works with any markup compatible with. To fix this error, check the sharing settings of the Google Workspace domain to which the file belongs. I am considering to include some integration with googledrive in a couple of packages I've been working on, in order to facilitate basic backup/restore (and perhaps sharing) of files generated by the package. #> # A tibble: 1 x 3 #> name id drive_resource #> * #> 1 chicken.csv 1yMmemNssPIb2TA_TapUeFT6ieXsEIJ2h Ĭreated on by the reprex package (v0.2.1) #> * locationType: parameter #> * location: fileId googledrive ::drive_ls( path = folder_dribble) #> * domain: global #> * reason: notFound #> * message: File not found: 0ABVQmP0dhv-pUk9PVA. #> Error: HTTP error File not found: 0ABVQmP0dhv-pUk9PVA. #> Local file: #> * /home/*****/R/x86_64-redhat-linux-gnu-library/3.5/googledrive/extdata/chicken.csv #> uploaded into Drive file: #> * chicken.csv: 1yMmemNssPIb2TA_TapUeFT6ieXsEIJ2h #> with MIME type: #> * text/csv googledrive ::drive_ls( path = "example_for_issue ") Googledrive ::drive_upload( media = googledrive ::drive_example( path = "chicken.csv "), #> * locationType: parameter #> * location: fileId folder_dribble %ĭplyr ::filter( name = "example_for_issue ") ![]() #> Error in inherits(d, "dribble"): HTTP error File not found: 0ABVQmP0dhv-pUk9PVA. Google_app Folder created: #> * example_for_issue googledrive ::drive_upload( media = googledrive ::drive_example( path = "chicken.csv "), ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |