Pin data to a folder in Google Drive using the googledrive package.
Arguments
- path
Path to existing directory on Google Drive to store pins. Can be given as an actual path like
"path/to/folder"
(character), a file id or URL marked withgoogledrive::as_id()
, or a googledrive::dribble.- versioned
Should this board be registered with support for versions?
- cache
Cache path. Every board requires a local cache to avoid downloading files multiple times. The default stores in a standard cache location for your operating system, but you can override if needed.
Details
The functions in pins do not create a new Google Drive folder. You can create a new folder from R with
googledrive::drive_mkdir()
, and then set the sharing for your folder withgoogledrive::drive_share()
.If you have problems with authentication to Google Drive, learn more at
googledrive::drive_auth()
.board_gdrive()
is powered by the googledrive package, which is a suggested dependency of pins (not required for pins in general). If you run into errors when deploying content to a server like https://www.shinyapps.io or Connect, addrequireNamespace("googledrive")
to your app or document for automatic dependency discovery.