tests/testthat/test_get_args.R

test_that('test get argument gunction', {

  expect_equal(getDistArg('norm'),
               c('mean', 'sd' ))

  expect_equal(getACSArg('fgn'),
               c('H' ))
})

Try the CoSMoS package in your browser

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

CoSMoS documentation built on May 30, 2021, 1:06 a.m.