tests/testthat/test-ML_BARTMachineModel.R

test_that("model fitting", {
  skip_if_not(TEST_MODEL_FITTING)
  with_parallel({
    model <- "BARTMachineModel"
    expect_output(test_model_binary(model))
    expect_error(test_model_factor(model))
    expect_output(test_model_numeric(model))
    expect_error(test_model_Surv(model))
  })
})
brian-j-smith/MachineShop documentation built on Sept. 22, 2023, 10:01 p.m.