Learn R Programming

rdrop2 (version 0.6)

drop_delete: Deletes a file or folder.

Description

Deletes a file or folder.

Usage

drop_delete(path = NULL, root = "auto", verbose = FALSE,
  dtoken = get_dropbox_token())

Arguments

path
This is required The path to the new folder to create relative to root.
root
This is required. The root relative to which path is specified. Valid values are auto (recommended and also the default), sandbox, and dropbox.
verbose
By default verbose output is FALSE. Set to TRUE if you need to troubleshoot any output or grab additional parameters.
dtoken
The Dropbox token generated by drop_auth. rdrop2 will try to automatically locate your local credential cache and use them. However, if the credentials are not found, the function will initiate a new auth