tests/testthat/test-gn_names.R

test_that("gn_names results in correct output", {
  expect_snapshot(gn_names(dendro_network(sim_table(hol_rom))))
  expect_s3_class(gn_names(dendro_network(sim_table(hol_rom))), class = "data.frame")
})

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.