Skip to content

Commit 070a7bb

Browse files
committed
calculate accuracy in basic run_eval() test
1 parent 4b64ad9 commit 070a7bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/testthat/test-run_eval.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test_that("Basic run with vanco data + model works", {
1111
ruv = mod_obj$ruv,
1212
fixed = mod_obj$fixed,
1313
censor_covariates = FALSE, # shouldn't matter, since no time-varying covs
14+
.stats_summ_options = stats_summ_options(acc_error_abs = 0.5, acc_error_rel = 0.25),
1415
.vpc_options = vpc_options(skip = TRUE),
1516
progress = FALSE
1617
)
@@ -43,6 +44,7 @@ test_that("Basic run with vanco data + model works", {
4344
model = "pkvancothomson",
4445
data = nm_vanco,
4546
censor_covariates = FALSE, # shouldn't matter, since no time-varying covs
47+
.stats_summ_options = stats_summ_options(acc_error_abs = 0.5, acc_error_rel = 0.25),
4648
.vpc_options = vpc_options(skip = TRUE),
4749
progress = FALSE
4850
)

0 commit comments

Comments
 (0)