store_googledrive | R Documentation |
All logs will be written in the same file.
store_googledrive(path)
path |
Path to folder on Drive where to send logs. |
A list that can be used in track_usage()
.
See the gargle package to manage authentication, and especially this vignette from gargle package to manage the process.
## Not run: # In your global, manage Google Drive access drive_auth(path = "/path/to/your/service-account-token.json") # see https://gargle.r-lib.org/articles/articles/managing-tokens-securely.html # to manage your token securely # Then in server, use: track_usage(storage_mode = store_googledrive(path = "my-logs/")) # you may have to share my-logs/ folder with your service account ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.