Learn R Programming

zzlite (version 0.1.2)

zz_delete: Delete file from Zamzar account

Description

Delete file from Zamzar account provided a file id.

Usage

zz_delete(id = NULL, usr = NULL, verbose = FALSE)

Arguments

id

The target id for a file you wish to delete. Most likely returned from <U+2018>zz get info()<U+2018>.

usr

The username/API key you are using. If not set, the function will check if a key exists as a `ZAMZAR_USR` variable in `.Renviron` and use that.

See: https://developers.zamzar.com/user

verbose

Boolean deciding whether or not verbose status messages should be returned. Defaults to `FALSE`.

Value

A status message indicating either success or failure.

Details

Please note that a Zamzar key passed as argument to `usr` takes precedence over a Zamzar key extracted from an `.Renviron`.

Examples

Run this code
# NOT RUN {
# An example of zz_delete() with a hardcoded file id

zz_get(id = 12345678)
# }

Run the code above in your browser using DataLab