tests/testthat/test-smi.R

context("Testing SMI")

test_that("SMI works", {
  data("WhiteKinship")
  expect_silent(
    smi(as.directed(WhiteKinship), "gender")
  )
} )

Try the netseg package in your browser

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

netseg documentation built on July 9, 2023, 6:33 p.m.