tests/testthat/test-class_database_aws.R

tar_test("validate AWS database", {
  skip_if_not_installed("paws.storage")
  out <- database_init(
    repository = "aws",
    resources = tar_resources(
      aws = tar_resources_aws(bucket = "x", prefix = "x")
    )
  )
  expect_silent(out$validate())
})

Try the targets package in your browser

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

targets documentation built on Oct. 12, 2023, 5:07 p.m.