tests/testthat/test-phylospatial-methods.R

test_that("ps generic methods work", {
      ps <- ps_simulate()
      expect_no_error(plot(ps, "comm"))
      expect_no_error(plot(ps, "tree"))
      expect_no_error(print(ps))
})

Try the phylospatial package in your browser

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

phylospatial documentation built on June 8, 2025, 1:14 p.m.