tests/testthat/test-bcanz.R

test_that("ssd_dists_bcanz works", {
  expect_identical(ssd_dists_bcanz(), 
                   c("gamma", "lgumbel", "llogis", 
                     "lnorm", "lnorm_lnorm", "weibull"))
})

test_that("ssd_dists_bcanz works", {
  expect_identical(ssd_dists_bcanz(), ssd_dists(bcanz = TRUE))
})

Try the ssdtools package in your browser

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

ssdtools documentation built on Sept. 8, 2023, 5:56 p.m.