tests/testthat/test-pk_mods.R

#
# test_that("create_pkmod parameters are entered correctly", {
#   expect_error(create_pkmod(ncpts = "cmpt1", pars = list(k10=-2.496,v1=2.348), vcov = diag(2), ivt = list(list(begin = 0, end = 1/6, k_R = 1), list(begin = 3, end = 3+1/6, k_R = 1))))
#   expect_error(create_pkmod(ncpts = "cmpt1", pars = c(k10="-2.496",v1="2.348"), vcov = diag(2), ivt = list(list(begin = 0, end = 1/6, k_R = 1), list(begin = 3, end = 3+1/6, k_R = 1))))
# })
#

Try the tci package in your browser

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

tci documentation built on Aug. 15, 2022, 9:09 a.m.