Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jun 7, 2021
1 parent eb1ee9a commit b385eac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R-package/tests/testthat/test_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ test_that("strict_shape works", {
n_rounds = 2

test_strict_shape <- function(bst, X, n_groups) {
predt = predict(bst, X, strict_shape = TRUE)
margin = predict(bst, X, outputmargin = TRUE, strict_shape = TRUE)
contri = predict(bst, X, predcontrib = TRUE, strict_shape = TRUE)
interact = predict(bst, X, predinteraction = TRUE, strict_shape = TRUE)
leaf = predict(bst, X, predleaf = TRUE, strict_shape = TRUE)
predt <- predict(bst, X, strict_shape = TRUE)
margin <- predict(bst, X, outputmargin = TRUE, strict_shape = TRUE)
contri <- predict(bst, X, predcontrib = TRUE, strict_shape = TRUE)
interact <- predict(bst, X, predinteraction = TRUE, strict_shape = TRUE)
leaf <- predict(bst, X, predleaf = TRUE, strict_shape = TRUE)

n_rows <- nrow(X)
n_cols <- ncol(X)
Expand Down

0 comments on commit b385eac

Please sign in to comment.