Skip to content

Commit 3682692

Browse files
committed
fix style issue
1 parent 5aa4ae7 commit 3682692

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/pkg/R/mllib_regression.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ setMethod("spark.glm", signature(data = "SparkDataFrame", formula = "formula"),
106106
print(family)
107107
stop("'family' not recognized")
108108
}
109-
109+
110110
# recover variancePower and linkPower from the specified tweedie family
111111
if (tolower(family$family) == "tweedie") {
112112
variancePower <- log(family$variance(exp(1)))

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ test_that("spark.glm and predict", {
8888
glm(Sepal.Width ~ Sepal.Length + Species, data = iris,
8989
family = tweedie(var.power = 1.2, link.power = 1.0)), iris))
9090
expect_true(all(abs(rVals - vals) < 1e-6), rVals - vals)
91-
91+
9292
# Test stats::predict is working
9393
x <- rnorm(15)
9494
y <- x + rnorm(15)

0 commit comments

Comments
 (0)