From e8a297c18cffd6217a035c922638f1ee5c9f6985 Mon Sep 17 00:00:00 2001 From: byron jaeger Date: Mon, 20 Nov 2023 22:14:10 -0500 Subject: [PATCH] fix formula --- tests/testthat/test-orsf_vi.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test-orsf_vi.R b/tests/testthat/test-orsf_vi.R index 4da2ed51..9313780d 100644 --- a/tests/testthat/test-orsf_vi.R +++ b/tests/testthat/test-orsf_vi.R @@ -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(