tests/testthat/test-rdists.R

test_that("sims_rdists", {
  expect_identical(
    sims_rdists(),
    c(
      "rbeta", "rbinom", "rcauchy", "rchisq", "rexp", "rf", "rgamma", "rgeom",
      "rhyper", "rlnorm", "rmultinom", "rnbinom", "rnorm", "rpois", "rsignrank",
      "rt", "runif", "rweibull", "rwilcox"
    )
  )
})

Try the sims package in your browser

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

sims documentation built on Sept. 30, 2024, 9:34 a.m.