Skip to content

Commit 3c4ebf9

Browse files
committed
fix unit test
1 parent dc8ccbc commit 3c4ebf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/pkg/tests/fulltests/test_mllib_regression.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ test_that("spark.glm summary", {
174174
expect_equal(stats$aic, rStats$aic)
175175

176176
# Test spark.glm works with offset
177+
training <- suppressWarnings(createDataFrame(iris))
177178
stats <- summary(spark.glm(training, Sepal_Width ~ Sepal_Length + Species,
178179
family = poisson(), offsetCol = "Petal_Length"))
179180
rStats <- suppressWarnings(summary(glm(Sepal.Width ~ Sepal.Length + Species,

0 commit comments

Comments
 (0)