tests/testthat/test_s3.R

svc <- paws::s3()

test_that("list_buckets", {
  expect_error(svc$list_buckets(), NA)
})

test_that("list_directory_buckets", {
  expect_error(svc$list_directory_buckets(), NA)
})

Try the paws.storage package in your browser

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

paws.storage documentation built on Sept. 12, 2024, 6:16 a.m.