tests/testthat/test-indices.R

# test_that("sequence indices can be computed", {
#   expect_error(
#     sequence_indices(mock_sequence),
#     NA
#   )
# })
#
# test_that("favorable states can be specified", {
#   expect_error(
#     sequence_indices(mock_sequence, favorable = "A"),
#     NA
#   )
# })

Try the tna package in your browser

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

tna documentation built on Nov. 5, 2025, 7:14 p.m.