Skip to content

Commit 5aa4ae7

Browse files
committed
fix style
1 parent 852dd6e commit 5aa4ae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/pkg/inst/tests/testthat/test_mllib_regression.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ test_that("spark.glm and predict", {
8585
expect_equal(typeof(take(select(prediction, "prediction"), 1)$prediction), "double")
8686
vals <- collect(select(prediction, "prediction"))
8787
rVals <- suppressWarnings(predict(
88-
glm(Sepal.Width ~ Sepal.Length + Species, data = iris,
88+
glm(Sepal.Width ~ Sepal.Length + Species, data = iris,
8989
family = tweedie(var.power = 1.2, link.power = 1.0)), iris))
90-
expect_true(all(abs(rVals - vals) < 1e-6), rVals - vals)
90+
expect_true(all(abs(rVals - vals) < 1e-6), rVals - vals)
9191

9292
# Test stats::predict is working
9393
x <- rnorm(15)

0 commit comments

Comments
 (0)