tests/testthat/test_plot_networx.R

net <- as.networx(allCircularSplits(5))

test_that("plot.networx works", {
  networx_plot <- function() plot(net)
  vdiffr::expect_doppelganger("plot.networx", networx_plot)
})

Try the phangorn package in your browser

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

phangorn documentation built on Sept. 17, 2024, 5:08 p.m.