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 May 29, 2024, 2:03 a.m.