tests/testthat/test-communities.R

test_that("communities can be detected", {
  expect_error(
    communities(mock_tna),
    NA
  )
})

test_that("communities can be detected for clusters", {
  expect_error(
    communities(mmm_model),
    NA
  )
})

Try the tna package in your browser

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

tna documentation built on June 8, 2025, 10:33 a.m.