tests/testthat/test-supported_states.R

with_mock_dir("t/supsts", {
  test_that("`ps_supported_states()` works", {
    expect_s3_class(ps_supported_states(), "data.frame")
  })
})

Try the planscorer package in your browser

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

planscorer documentation built on Sept. 24, 2024, 5:08 p.m.