Check if an argument looks like an S3 bucket
check_s3_uri(x)
string, URI of an S3 object, should start with s3://, then bucket name and object key
s3://
# NOT RUN { check_s3_uri('s3://foo/bar') check_s3_uri('https://foo/bar') # } # NOT RUN { assert_s3_uri('https://foo/bar') # }
Run the code above in your browser using DataLab