tests/testthat/test_cloudcontrolapi.R

svc <- paws::cloudcontrolapi()

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

test_that("list_resource_requests", {
  expect_error(svc$list_resource_requests(MaxResults = 20), NA)
})

Try the paws.developer.tools package in your browser

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

paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.