tests/testthat/test-ps_simulate.R

test_that("ps_simulate runs without error using defaults", {
      expect_no_error(ps_simulate())
      expect_no_error(ps_simulate(data_type = "binary"))
      expect_no_error(ps_simulate(data_type = "abundance"))
})

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.