Skip to content

Commit

Permalink
fix formula
Browse files Browse the repository at this point in the history
  • Loading branch information
bcjaeger committed Nov 21, 2023
1 parent ad15c8a commit e8a297c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-orsf_vi.R
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ test_that(
desc = 'informative errors for custom functions',
code = {

formula <- Surv(time, status) ~ protime + edema + bili + junk + junk_cat

fit_no_vi <- orsf(pbc_vi, formula, importance = 'none', n_tree = 1)

expect_error(
Expand Down

0 comments on commit e8a297c

Please sign in to comment.