tests/testthat/test-public-service.R

context("Public service tests")

test_that("intentional bad keys", {
    expect_error(bucketlist(key = 'BAD KEY', secret = 'BAD SECRET'))
})

Try the aws.s3 package in your browser

Any scripts or data that you put into this service are public.

aws.s3 documentation built on April 14, 2020, 5:15 p.m.