Description Usage Arguments Value Examples
Function will delete specified object in Dropbox (assuming it exists). To skip deletion conformation, set ask = FALSE in function call. Accidentally deleted objects may be recovered using Dropbox's restore feature.
1 2 | dropbox_delete(cred, file_to_delete = NULL,
ask = interactive(), curl = getCurlHandle(), ...)
|
cred |
An object of class DropboxCredentials with Dropobox specific credentials. |
file_to_delete |
Specifies the path to the file or folder to be deleted. |
curl |
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint) |
... |
optional additional curl options (debugging tools mostly). |
ask |
logical set to TRUE. If set to false, function will not confirm delete operation |
Nothing. A message upon successful deletion.
1 2 3 4 | ## Not run:
dropbox_delete(dropbox_credential, 'path/to/file')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.