Skip to content

Commit

Permalink
use threshold that is admissible on all os
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Nov 24, 2023
1 parent 0d304c3 commit 9f13ebd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testthat/test-orsf.R
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ test_that(
)

test_that(
desc = "user supplied beta functions are applied correctly",
desc = "correctly formatted user supplied beta functions are applied",
code = {

fit_pca = orsf(pbc,
Expand All @@ -589,7 +589,9 @@ test_that(
control = orsf_control_survival(method = f_pca),
n_tree = n_tree_test)

expect_gt(fit_pca$eval_oobag$stat_values, .765)
expect_true(fit_pca$control$lincomb_type == 'custom')

expect_gt(fit_pca$eval_oobag$stat_values, .65)

}
)
Expand Down

0 comments on commit 9f13ebd

Please sign in to comment.