tests/testthat/test-dendro_network.R

test_that("`dendro_network(sim_table(hol_rom))` results in the expected similarity table", {
  local_edition(3)
  # test graph edges and nodes
  expect_true(igraph::is_igraph(dendro_network(sim_table(hol_rom))))
  # test data class
  expect_s3_class(dendro_network(sim_table(hol_rom)), class = "igraph")
})

Try the dendroNetwork package in your browser

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

dendroNetwork documentation built on May 29, 2024, 1:08 a.m.