Skip to content

Commit 5871257

Browse files
committed
satisfy lintr
1 parent e0a3894 commit 5871257

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/pkg/inst/tests/testthat/test_utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ test_that("overrideEnvs", {
184184
})
185185

186186
test_that("rbindRaws", {
187-
r <- serialize(1, connection=NULL)
187+
r <- serialize(1, connection = NULL)
188188
inputData <- list(list(1L, r), list(2L, r), list(3L, r))
189189
expected <- data.frame(V1 = 1:3)
190190
expected$V2 <- list(r, r, r)

R/pkg/inst/worker/worker.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ compute <- function(mode, partition, serializer, deserializer, key,
3838
options(stringsAsFactors = FALSE)
3939

4040
# Handle binary data types
41-
if("raw" %in% sapply(inputData[[1]], class)){
41+
if ("raw" %in% sapply(inputData[[1]], class)) {
4242
inputData <- SparkR:::rbindRaws(inputData)
4343
} else {
4444
inputData <- do.call(rbind.data.frame, inputData)

0 commit comments

Comments
 (0)