return the name which can be used as a temporary file

s3_file_temp(pattern = "file", tmp_dir = "", ext = "")

Arguments

pattern

(character): A character vector with the non-random portion of the name.

tmp_dir

(character): The directory the file will be created in. By default the cached s3 bucket will be applied otherwise "" will be used.

ext

(character): A character vector of one or more paths.

Value

character vector of s3 uri paths

Examples

if (FALSE) {
# Require AWS S3 credentials

s3_file_temp(tmp_dir = "MyBucket")
}