tests/testthat/test_plot_prediction_breakdown.R

context("plot_variable_response")

source("objects_for_tests.R")

test_that("Output", {
  expect_is(plot(broken_prediction), "ggplot")
  expect_is(plot(broken_prediction, broken_prediction2), "ggplot")
  expect_is(plot(broken_prediction_prob), "gg")
})
MI2DataLab/survxai documentation built on Sept. 10, 2022, 12:03 a.m.