Skip to content

Commit

Permalink
skips more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christophM committed Mar 26, 2020
1 parent 57188dd commit 63c627b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-Shapley.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ context("Shapley()")
expected_colnames <- c("feature", "phi", "phi.var", "feature.value")

test_that("Shapley works for single output and single feature", {
skip_on_os("windows")
skip_on_cran()
x.interest <- X[1, ]

set.seed(42)
Expand Down Expand Up @@ -30,6 +32,8 @@ test_that("Shapley works for single output and single feature", {
})

test_that("Shapley works for multiple output", {
skip_on_os("windows")
skip_on_cran()
x.interest <- X[1, ]
set.seed(42)
shap <- Shapley$new(predictor2, x.interest, sample.size = 400)
Expand Down

0 comments on commit 63c627b

Please sign in to comment.