tests/testthat/test-rp_mofel_fun.R

test_that("compare rp_model_fun", {
  expect_equal(rp_model_fun( beta=c(1,2,3), opt=list(distrib="lognormal")), as.matrix(exp(c(1,2,3))))
})

Try the winputall package in your browser

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

winputall documentation built on June 22, 2024, 10:40 a.m.