Skip to contents

Check if a file exists

Usage

aws_file_exists(remote_path)

Arguments

remote_path

(character) one or more remote S3 paths. required

Value

vector of booleans (TRUE or FALSE), length matches length(remote_path)

Examples

if (FALSE) { # \dontrun{
aws_file_exists(s3_path("s64-test-2", "DESCRIPTION"))
aws_file_exists(s3_path("s64-test-2", "doesntexist"))
aws_file_exists(s3_path("s64-test-2", c("DESCRIPTION", "doesntexist")))
} # }