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())
})
wlandau/targets documentation built on May 1, 2024, 7:27 p.m.