tests/testthat/test-s3_get_signed_url.R

test_that("creating signed url works", {
  skip_if_offline(host = "r-project.org")
  expect_type(
    s3_get_signed_url("s3://geomarker/testing_downloads/mtcars_private.rds"),
    "character"
  )
})

Try the s3 package in your browser

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

s3 documentation built on Sept. 11, 2024, 7:03 p.m.