tests/testthat/test_plot.R

context("plot individual_variable_effects")

test_that("test plotting parameters", {
  skip_if_no_shap()
  expect_is(plot(ive_rf_reg), "gg")
  expect_is(plot(ive_rf_reg, show_predcited = FALSE, show_attributions = FALSE), "gg")
})
ModelOriented/shapper documentation built on May 26, 2023, 2:20 a.m.