tests/testthat/test_frauddetector.R

svc <- paws::frauddetector()

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

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

Try the paws.machine.learning package in your browser

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

paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.