Get contents of bin as archive

bin_archive(bin, format = "zip", file = NA)

Arguments

bin

Bin name. If NA the generate random bin name.

format

Archive format. Either "zip" (default) or "tar".

file

File name to use to save results.

Value

File name as character vector.

Examples

if (FALSE) {
bin_archive("placeholder", file = tempfile(fileext = ".zip"))
}