tests/testthat/test-gen_dists.R

test_that("gen_dists is deprecated", {
    expect_snapshot({
        expect_equal(gen_dists(mut_rate = 1, mean_gens_pdf = c(0.2, 0.2, 0.2, 0.2,
            0.2), max_dist = 0)[, "linked_prob"][[1]], 1)
    })
})

Try the phylosamp package in your browser

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

phylosamp documentation built on May 31, 2023, 5:23 p.m.