Checks if an object exists in S3

s3_exists(uri)

Arguments

uri

string, URI of an S3 object, should start with s3://, then bucket name and object key

Value

boolean

Examples

if (FALSE) { s3_exists('s3://botor/example-data/mtcars.csv') s3_exists('s3://botor/example-data/UNDEFINED.CSVLX') }