tests/testthat/test-ianring.R

test_that("ianring function calculates index value correctly", {
  expect_equal(ianring(c(0, 2, 4, 5, 7, 9, 11), is_interactive=FALSE), 
               2741)
})

Try the musicMCT package in your browser

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

musicMCT documentation built on June 21, 2026, 9:06 a.m.