FailedConsole Output

Skipping 50 KB.. Full Log
le: Variable or function name should be snake_case.
  sortedRdd2 <- sortBy(rdd2, function(x) { x * x })
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:369:3: style: Variable or function name should be snake_case.
  zeroValue <- list(0, 0)
  ^~~~~~~~~
inst/tests/testthat/test_rdd.R:370:3: style: Variable or function name should be snake_case.
  seqOp <- function(x, y) { list(x[[1]] + y, x[[2]] + 1) }
  ^~~~~
inst/tests/testthat/test_rdd.R:371:3: style: Variable or function name should be snake_case.
  combOp <- function(x, y) { list(x[[1]] + y[[1]], x[[2]] + y[[2]]) }
  ^~~~~~
inst/tests/testthat/test_rdd.R:431:3: style: Variable or function name should be snake_case.
  trailed.rdd <- parallelize(sc, c("1", "", "2\n", "3\n\r\n"))
  ^~~~~~~~~~~
inst/tests/testthat/test_rdd.R:436:3: style: Variable or function name should be snake_case.
  rev.nums <- 9:0
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:437:3: style: Variable or function name should be snake_case.
  rev.rdd <- parallelize(sc, rev.nums, 2L)
  ^~~~~~~
inst/tests/testthat/test_rdd.R:450:3: style: Variable or function name should be snake_case.
  mockFile <- c("Spark is pretty.", "Spark is awesome.")
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:451:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:482:3: style: Variable or function name should be snake_case.
  emptyRdd <- parallelize(sc, list())
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:486:3: style: Variable or function name should be snake_case.
  mockFile <- c("Spark is pretty.", "Spark is awesome.")
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:487:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:577:3: style: Variable or function name should be snake_case.
  emptyRdd <- parallelize(sc, list())
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:700:3: style: Variable or function name should be snake_case.
  numPairsRdd <- map(rdd, function(x) { list (x, x) })
  ^~~~~~~~~~~
inst/tests/testthat/test_rdd.R:700:46: style: Remove spaces before the left parenthesis in a function call.
  numPairsRdd <- map(rdd, function(x) { list (x, x) })
                                             ^
inst/tests/testthat/test_rdd.R:701:3: style: Variable or function name should be snake_case.
  sortedRdd <- sortByKey(numPairsRdd, ascending = FALSE)
  ^~~~~~~~~
inst/tests/testthat/test_rdd.R:703:3: style: Variable or function name should be snake_case.
  numPairs <- lapply(nums, function(x) { list (x, x) })
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:703:47: style: Remove spaces before the left parenthesis in a function call.
  numPairs <- lapply(nums, function(x) { list (x, x) })
                                              ^
inst/tests/testthat/test_rdd.R:707:3: style: Variable or function name should be snake_case.
  numPairsRdd2 <- map(rdd2, function(x) { list (x, x) })
  ^~~~~~~~~~~~
inst/tests/testthat/test_rdd.R:707:48: style: Remove spaces before the left parenthesis in a function call.
  numPairsRdd2 <- map(rdd2, function(x) { list (x, x) })
                                               ^
inst/tests/testthat/test_rdd.R:708:3: style: Variable or function name should be snake_case.
  sortedRdd2 <- sortByKey(numPairsRdd2)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:715:3: style: Variable or function name should be snake_case.
  sortedRdd3 <- sortByKey(rdd3)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:723:3: style: Variable or function name should be snake_case.
  sortedRdd4 <- sortByKey(rdd4)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:729:3: style: Variable or function name should be snake_case.
  sortedRdd5 <- sortByKey(rdd5, numPartitions = 1L)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:736:3: style: Variable or function name should be snake_case.
  sortedRdd6 <- sortByKey(rdd6)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:743:3: style: Variable or function name should be snake_case.
  sortedRdd7 <- sortByKey(rdd7)
  ^~~~~~~~~~
inst/tests/testthat/test_rdd.R:773:3: style: Variable or function name should be snake_case.
  pairsRDD <- lapply(rdd, function(x) { if (x %% 2 == 0) list("a", x) else list("b", x) })
  ^~~~~~~~
inst/tests/testthat/test_rdd.R:784:3: style: Variable or function name should be snake_case.
  pairsRDD <- lapply(rdd, function(x) { if (x %% 2 == 0) list(2, x) else list(3, x) })
  ^~~~~~~~
inst/tests/testthat/test_shuffle.R:24:1: style: Variable or function name should be snake_case.
intPairs <- list(list(1L, -1), list(2L, 100), list(2L, 1), list(1L, 200))
^~~~~~~~
inst/tests/testthat/test_shuffle.R:25:1: style: Variable or function name should be snake_case.
intRdd <- parallelize(sc, intPairs, 2L)
^~~~~~
inst/tests/testthat/test_shuffle.R:27:1: style: Variable or function name should be snake_case.
doublePairs <- list(list(1.5, -1), list(2.5, 100), list(2.5, 1), list(1.5, 200))
^~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:28:1: style: Variable or function name should be snake_case.
doubleRdd <- parallelize(sc, doublePairs, 2L)
^~~~~~~~~
inst/tests/testthat/test_shuffle.R:30:1: style: Variable or function name should be snake_case.
numPairs <- list(list(1L, 100), list(2L, 200), list(4L, -1), list(3L, 1),
^~~~~~~~
inst/tests/testthat/test_shuffle.R:32:1: style: Variable or function name should be snake_case.
numPairsRdd <- parallelize(sc, numPairs, length(numPairs))
^~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:34:1: style: Variable or function name should be snake_case.
strList <- list("Dexter Morgan: Blood. Sometimes it sets my teeth on edge and ",
^~~~~~~
inst/tests/testthat/test_shuffle.R:36:1: style: Variable or function name should be snake_case.
strListRDD <- parallelize(sc, strList, 4)
^~~~~~~~~~
inst/tests/testthat/test_shuffle.R:91:3: style: Variable or function name should be snake_case.
  stringKeyRDD <- parallelize(sc,
  ^~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:106:3: style: Variable or function name should be snake_case.
  zeroValue <- list(0, 0)
  ^~~~~~~~~
inst/tests/testthat/test_shuffle.R:107:3: style: Variable or function name should be snake_case.
  seqOp <- function(x, y) { list(x[[1]] + y, x[[2]] + 1) }
  ^~~~~
inst/tests/testthat/test_shuffle.R:108:3: style: Variable or function name should be snake_case.
  combOp <- function(x, y) { list(x[[1]] + y[[1]], x[[2]] + y[[2]]) }
  ^~~~~~
inst/tests/testthat/test_shuffle.R:109:3: style: Variable or function name should be snake_case.
  aggregatedRDD <- aggregateByKey(rdd, zeroValue, seqOp, combOp, 2L)
  ^~~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:119:3: style: Variable or function name should be snake_case.
  zeroValue <- list(0, 0)
  ^~~~~~~~~
inst/tests/testthat/test_shuffle.R:120:3: style: Variable or function name should be snake_case.
  seqOp <- function(x, y) { list(x[[1]] + y, x[[2]] + 1) }
  ^~~~~
inst/tests/testthat/test_shuffle.R:121:3: style: Variable or function name should be snake_case.
  combOp <- function(x, y) { list(x[[1]] + y[[1]], x[[2]] + y[[2]]) }
  ^~~~~~
inst/tests/testthat/test_shuffle.R:122:3: style: Variable or function name should be snake_case.
  aggregatedRDD <- aggregateByKey(rdd, zeroValue, seqOp, combOp, 2L)
  ^~~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:148:3: style: Variable or function name should be snake_case.
  stringKeyPairs <- list(list("a", -1), list("b", 100), list("b", 1), list("a", 200))
  ^~~~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:150:3: style: Variable or function name should be snake_case.
  stringKeyRDD <- parallelize(sc, stringKeyPairs)
  ^~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:175:3: style: Variable or function name should be snake_case.
  partitionByMagnitude <- function(key) { if (key >= 3) 1 else 0 }
  ^~~~~~~~~~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:177:3: style: Variable or function name should be snake_case.
  resultRDD <- partitionBy(numPairsRdd, 2L, partitionByMagnitude)
  ^~~~~~~~~
inst/tests/testthat/test_shuffle.R:189:3: style: Variable or function name should be snake_case.
  kOne <- 1
  ^~~~
inst/tests/testthat/test_shuffle.R:190:3: style: Variable or function name should be snake_case.
  partitionByParity <- function(key) { if (key %% 2 == kOne) 7 else 4 }
  ^~~~~~~~~~~~~~~~~
inst/tests/testthat/test_shuffle.R:193:3: style: Variable or function name should be snake_case.
  resultRDD <- partitionBy(numPairsRdd, numPartitions = 2L, partitionByParity)
  ^~~~~~~~~
inst/tests/testthat/test_shuffle.R:208:3: style: Variable or function name should be snake_case.
  wordCount <- lapply(words, function(word) { list(word, 1L) })
  ^~~~~~~~~
inst/tests/testthat/test_shuffle.R:210:3: style: Variable or function name should be snake_case.
  resultRDD <- partitionBy(wordCount, 2L)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:23:1: style: Variable or function name should be snake_case.
checkStructField <- function(actual, expectedName, expectedType, expectedNullable) {
^~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:23:38: style: Variable or function name should be snake_case.
checkStructField <- function(actual, expectedName, expectedType, expectedNullable) {
                                     ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:23:52: style: Variable or function name should be snake_case.
checkStructField <- function(actual, expectedName, expectedType, expectedNullable) {
                                                   ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:23:66: style: Variable or function name should be snake_case.
checkStructField <- function(actual, expectedName, expectedType, expectedNullable) {
                                                                 ^~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:30:1: style: Variable or function name should be snake_case.
markUtf8 <- function(s) {
^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:39:1: style: Variable or function name should be snake_case.
sqlContext <- sparkRSQL.init(sc)
^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:41:1: style: Variable or function name should be snake_case.
mockLines <- c("{\"name\":\"Michael\"}",
^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:44:1: style: Variable or function name should be snake_case.
jsonPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:45:1: style: Variable or function name should be snake_case.
parquetPath <- tempfile(pattern = "sparkr-test", fileext = ".parquet")
^~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:49:1: style: Variable or function name should be snake_case.
mockLinesNa <- c("{\"name\":\"Bob\",\"age\":16,\"height\":176.5}",
^~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:54:1: style: Variable or function name should be snake_case.
jsonPathNa <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:58:1: style: Variable or function name should be snake_case.
mockLinesComplexType <-
^~~~~~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:62:1: style: Variable or function name should be snake_case.
complexTypeJsonPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
^~~~~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:85:3: style: Variable or function name should be snake_case.
  testField <- structField("a", "string")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:90:3: style: Variable or function name should be snake_case.
  testSchema <- structType(testField, structField("b", "integer"))
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:99:3: style: Variable or function name should be snake_case.
  dfAsDF <- as.DataFrame(sqlContext, rdd, list("a", "b"))
  ^~~~~~
inst/tests/testthat/test_sparkSQL.R:116:3: style: Variable or function name should be snake_case.
  dfAsDF <- as.DataFrame(sqlContext, rdd)
  ^~~~~~
inst/tests/testthat/test_sparkSQL.R:140:3: style: Variable or function name should be snake_case.
  df2AsDF <- as.DataFrame(sqlContext, toRDD(df), schema)
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:150:3: style: Variable or function name should be snake_case.
  localDF <- data.frame(name = c("John", "Smith", "Sarah"),
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:162:3: style: Variable or function name should be snake_case.
  hiveCtx <- tryCatch({
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:325:1: style: Variable or function name should be snake_case.
mockLinesMapType <- c("{\"name\":\"Bob\",\"info\":{\"age\":16,\"height\":176.5}}",
^~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:328:1: style: Variable or function name should be snake_case.
mapTypeJsonPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:339:64: style: Remove spaces before the left parenthesis in a function call.
  expect_equal(ldf$c1, list(list(1, 2, 3), list(4, 5, 6), list (7, 8, 9)))
                                                               ^
inst/tests/testthat/test_sparkSQL.R:340:76: style: Remove spaces before the left parenthesis in a function call.
  expect_equal(ldf$c2, list(list("a", "b", "c"), list("d", "e", "f"), list ("g", "h", "i")))
                                                                           ^
inst/tests/testthat/test_sparkSQL.R:341:76: style: Remove spaces before the left parenthesis in a function call.
  expect_equal(ldf$c3, list(list(1.0, 2.0, 3.0), list(4.0, 5.0, 6.0), list (7.0, 8.0, 9.0)))
                                                                           ^
inst/tests/testthat/test_sparkSQL.R:399:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "jsonPath2", fileext = ".json")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:403:3: style: Variable or function name should be snake_case.
  jsonPath3 <- tempfile(pattern = "jsonPath3", fileext = ".json")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:407:3: style: Variable or function name should be snake_case.
  jsonDF1 <- read.json(sqlContext, c(jsonPath2, jsonPath3))
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:411:3: style: Variable or function name should be snake_case.
  jsonDF2 <- suppressWarnings(jsonFile(sqlContext, c(jsonPath2, jsonPath3)))
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:462:3: style: Variable or function name should be snake_case.
  dfParquet <- read.df(sqlContext, parquetPath, "parquet")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:466:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "jsonPath2", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:467:3: style: Variable or function name should be snake_case.
  parquetPath2 <- tempfile(pattern = "parquetPath2", fileext = ".parquet")
  ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:471:3: style: Variable or function name should be snake_case.
  dfParquet2 <- read.df(sqlContext, parquetPath2, "parquet")
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:506:3: style: Variable or function name should be snake_case.
  testRDD <- toRDD(df)
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:513:3: style: Variable or function name should be snake_case.
  RDD1 <- toRDD(df)
  ^~~~
inst/tests/testthat/test_sparkSQL.R:514:3: style: Variable or function name should be snake_case.
  RDD2 <- toRDD(df)
  ^~~~
inst/tests/testthat/test_sparkSQL.R:527:3: style: Variable or function name should be snake_case.
  textLines <- c("Michael",
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:530:3: style: Variable or function name should be snake_case.
  textPath <- tempfile(pattern = "sparkr-textLines", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:532:3: style: Variable or function name should be snake_case.
  textRDD <- textFile(sc, textPath)
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:535:3: style: Variable or function name should be snake_case.
  dfRDD <- toRDD(df)
  ^~~~~
inst/tests/testthat/test_sparkSQL.R:537:3: style: Variable or function name should be snake_case.
  unionByte <- unionRDD(rdd, dfRDD)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:543:3: style: Variable or function name should be snake_case.
  unionString <- unionRDD(textRDD, dfRDD)
  ^~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:551:3: style: Variable or function name should be snake_case.
  objectPath <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:553:3: style: Variable or function name should be snake_case.
  dfRDD <- toRDD(df)
  ^~~~~
inst/tests/testthat/test_sparkSQL.R:555:3: style: Variable or function name should be snake_case.
  objectIn <- objectFile(sc, objectPath)
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:564:3: style: Variable or function name should be snake_case.
  testRDD <- lapply(df, function(row) {
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:565:9: style: Variable or function name should be snake_case.
    row$newCol <- row$age + 5
        ^~~~~~
inst/tests/testthat/test_sparkSQL.R:598:3: style: Variable or function name should be snake_case.
  dfLimited <- limit(df, 2)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:615:3: style: Variable or function name should be snake_case.
  jsonPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:637:9: style: Variable or function name should be snake_case.
    row$testCol <- if (row$age == 35 && !is.na(row$age)) TRUE else FALSE
        ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:668:3: style: Variable or function name should be snake_case.
  testSchema <- schema(df)
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:674:3: style: Variable or function name should be snake_case.
  testTypes <- dtypes(df)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:678:3: style: Variable or function name should be snake_case.
  testCols <- columns(df)
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:682:3: style: Variable or function name should be snake_case.
  testNames <- names(df)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:703:3: style: Variable or function name should be snake_case.
  irisDF <- suppressWarnings(createDataFrame(sqlContext, iris))
  ^~~~~~
inst/tests/testthat/test_sparkSQL.R:720:3: style: Variable or function name should be snake_case.
  testHead <- head(df)
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:724:3: style: Variable or function name should be snake_case.
  testHead2 <- head(df, 2)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:728:3: style: Variable or function name should be snake_case.
  testFirst <- first(df)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:735:3: style: Variable or function name should be snake_case.
  testHead <- head(df0)
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:739:3: style: Variable or function name should be snake_case.
  testFirst <- first(df0)
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:749:3: style: Variable or function name should be snake_case.
  jsonPathWithDup <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:898:3: style: Variable or function name should be snake_case.
  hiveCtx <- tryCatch({
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:911:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:918:3: style: Variable or function name should be snake_case.
  hivetestDataPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:925:3: style: Variable or function name should be snake_case.
  parquetDataPath <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1033:3: style: Variable or function name should be snake_case.
  jsonPathWithDup <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1090:3: style: Variable or function name should be snake_case.
  .originalTimeZone <- Sys.getenv("TZ")
  ^~~~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1199:3: style: Variable or function name should be snake_case.
  mockLines2 <- c("{\"name\":\"ID1\", \"value\": \"10\"}",
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1203:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1216:3: style: Variable or function name should be snake_case.
  mockLines3 <- c("{\"name\":\"Andy\", \"age\":30}",
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1220:3: style: Variable or function name should be snake_case.
  jsonPath3 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1292:3: style: Variable or function name should be snake_case.
  mockLines2 <- c("{\"name\":\"Michael\", \"test\": \"yes\"}",
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1296:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1367:3: style: Variable or function name should be snake_case.
  mockLines3 <- c("{\"name\":\"Michael\", \"name_y\":\"Michael\", \"test\": \"yes\"}",
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1371:3: style: Variable or function name should be snake_case.
  jsonPath3 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1384:3: style: Variable or function name should be snake_case.
  testRDD <- toJSON(df)
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:1413:3: style: Variable or function name should be snake_case.
  jsonPath2 <- tempfile(pattern = "sparkr-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1448:3: style: Variable or function name should be snake_case.
  newDF <- withColumn(df, "newAge", df$age + 2)
  ^~~~~
inst/tests/testthat/test_sparkSQL.R:1453:3: style: Variable or function name should be snake_case.
  newDF2 <- withColumnRenamed(df, "age", "newerAge")
  ^~~~~~
inst/tests/testthat/test_sparkSQL.R:1460:3: style: Variable or function name should be snake_case.
  newDF <- mutate(df, newAge = df$age + 2)
  ^~~~~
inst/tests/testthat/test_sparkSQL.R:1465:3: style: Variable or function name should be snake_case.
  newDF2 <- rename(df, newerAge = df$age)
  ^~~~~~
inst/tests/testthat/test_sparkSQL.R:1473:3: style: Variable or function name should be snake_case.
  transformedDF <- transform(df, newAge = -df$age, newAge2 = df$age / 2)
  ^~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1497:3: style: Variable or function name should be snake_case.
  parquetPath2 <- tempfile(pattern = "parquetPath2", fileext = ".parquet")
  ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1499:3: style: Variable or function name should be snake_case.
  parquetPath3 <- tempfile(pattern = "parquetPath3", fileext = ".parquet")
  ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1501:3: style: Variable or function name should be snake_case.
  parquetDF <- read.parquet(sqlContext, c(parquetPath2, parquetPath3))
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1504:3: style: Variable or function name should be snake_case.
  parquetDF2 <- suppressWarnings(parquetFile(sqlContext, parquetPath2, parquetPath3))
  ^~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1509:3: style: Variable or function name should be snake_case.
  saveMode <- "overwrite"
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1510:3: style: Variable or function name should be snake_case.
  mergeSchema <- "true"
  ^~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1511:3: style: Variable or function name should be snake_case.
  parquetPath4 <- tempfile(pattern = "parquetPath3", fileext = ".parquet")
  ^~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1525:3: style: Variable or function name should be snake_case.
  textPath <- tempfile(pattern = "textPath", fileext = ".txt")
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1529:3: style: Variable or function name should be snake_case.
  textPath2 <- tempfile(pattern = "textPath2", fileext = ".txt")
  ^~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1713:7: style: Do not place spaces around code in parentheses or square brackets.
  rdf[ input %% 3 == 0, ] <- c(1, "1", -1)
      ^
inst/tests/testthat/test_sparkSQL.R:1715:3: style: Variable or function name should be snake_case.
  multiColResults <- freqItems(df, c("numbers", "letters"), support = 0.1)
  ^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1718:3: style: Variable or function name should be snake_case.
  singleColResult <- freqItems(df, "negDoubles", support = 0.1)
  ^~~~~~~~~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1741:3: style: Variable or function name should be snake_case.
  retError <- tryCatch(sql(sqlContext, "select * from blah"), error = function(e) e)
  ^~~~~~~~
inst/tests/testthat/test_sparkSQL.R:1745:1: style: Variable or function name should be snake_case.
irisDF <- suppressWarnings(createDataFrame(sqlContext, iris))
^~~~~~
inst/tests/testthat/test_sparkSQL.R:1749:3: style: Variable or function name should be snake_case.
  irisDF2 <- irisDF[irisDF$Species == "setosa", ]
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:1797:3: style: Variable or function name should be snake_case.
  DF <- createDataFrame(sqlContext, data, schema)
  ^~
inst/tests/testthat/test_sparkSQL.R:1829:3: style: Variable or function name should be snake_case.
  irisDF2 <- createDataFrame(sqlContext, iris2)
  ^~~~~~~
inst/tests/testthat/test_sparkSQL.R:1847:3: style: Variable or function name should be snake_case.
  DF <- createDataFrame(sqlContext, df)
  ^~
inst/tests/testthat/test_take.R:21:1: style: Variable or function name should be snake_case.
numVector <- c(-10:97)
^~~~~~~~~
inst/tests/testthat/test_take.R:22:1: style: Variable or function name should be snake_case.
numList <- list(sqrt(1), sqrt(2), sqrt(3), 4 ** 10)
^~~~~~~
inst/tests/testthat/test_take.R:23:1: style: Variable or function name should be snake_case.
strVector <- c("Dexter Morgan: I suppose I should be upset, even feel",
^~~~~~~~~
inst/tests/testthat/test_take.R:27:1: style: Variable or function name should be snake_case.
strList <- list("Dexter Morgan: Blood. Sometimes it sets my teeth on edge, ",
^~~~~~~
inst/tests/testthat/test_take.R:36:3: style: Variable or function name should be snake_case.
  numVectorRDD <- parallelize(jsc, numVector, 10)
  ^~~~~~~~~~~~
inst/tests/testthat/test_take.R:45:3: style: Variable or function name should be snake_case.
  numListRDD <- parallelize(jsc, numList, 1)
  ^~~~~~~~~~
inst/tests/testthat/test_take.R:46:3: style: Variable or function name should be snake_case.
  numListRDD2 <- parallelize(jsc, numList, 4)
  ^~~~~~~~~~~
inst/tests/testthat/test_take.R:52:3: style: Variable or function name should be snake_case.
  strVectorRDD <- parallelize(jsc, strVector, 2)
  ^~~~~~~~~~~~
inst/tests/testthat/test_take.R:53:3: style: Variable or function name should be snake_case.
  strVectorRDD2 <- parallelize(jsc, strVector, 3)
  ^~~~~~~~~~~~~
inst/tests/testthat/test_take.R:57:3: style: Variable or function name should be snake_case.
  strListRDD <- parallelize(jsc, strList, 4)
  ^~~~~~~~~~
inst/tests/testthat/test_take.R:58:3: style: Variable or function name should be snake_case.
  strListRDD2 <- parallelize(jsc, strList, 1)
  ^~~~~~~~~~~
inst/tests/testthat/test_textFile.R:23:1: style: Variable or function name should be snake_case.
mockFile <- c("Spark is pretty.", "Spark is awesome.")
^~~~~~~~
inst/tests/testthat/test_textFile.R:26:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:38:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:48:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:54:3: style: Variable or function name should be snake_case.
  wordCount <- lapply(words, function(word) { list(word, 1L) })
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:66:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:80:3: style: Variable or function name should be snake_case.
  fileName1 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:81:3: style: Variable or function name should be snake_case.
  fileName2 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:94:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:105:3: style: Variable or function name should be snake_case.
  fileName1 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:106:3: style: Variable or function name should be snake_case.
  fileName2 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:112:3: style: Variable or function name should be snake_case.
  wordCount <- lapply(words, function(word) { list(word, 1L) })
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:122:3: style: Variable or function name should be snake_case.
  expectedStr <- lapply(expected, function(x) { toString(x) })
  ^~~~~~~~~~~
inst/tests/testthat/test_textFile.R:130:3: style: Variable or function name should be snake_case.
  fileName1 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:131:3: style: Variable or function name should be snake_case.
  fileName2 <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~~
inst/tests/testthat/test_textFile.R:143:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_textFile.R:151:3: style: Variable or function name should be snake_case.
  lengthsPipelined <- lapply(lengths, function(x) { x + 10 })
  ^~~~~~~~~~~~~~~~
inst/tests/testthat/test_utils.R:30:3: style: Variable or function name should be snake_case.
  jList <- callJMethod(rdd@jrdd, "collect")
  ^~~~~
inst/tests/testthat/test_utils.R:31:3: style: Variable or function name should be snake_case.
  rList <- convertJListToRList(jList, flatten = TRUE)
  ^~~~~
inst/tests/testthat/test_utils.R:36:3: style: Variable or function name should be snake_case.
  jList <- callJMethod(rdd@jrdd, "collect")
  ^~~~~
inst/tests/testthat/test_utils.R:37:3: style: Variable or function name should be snake_case.
  rList <- convertJListToRList(jList, flatten = TRUE)
  ^~~~~
inst/tests/testthat/test_utils.R:43:3: style: Variable or function name should be snake_case.
  mockFile <- c("Spark is pretty.", "Spark is awesome.")
  ^~~~~~~~
inst/tests/testthat/test_utils.R:44:3: style: Variable or function name should be snake_case.
  fileName <- tempfile(pattern = "spark-test", fileext = ".tmp")
  ^~~~~~~~
inst/tests/testthat/test_utils.R:49:3: style: Variable or function name should be snake_case.
  ser.rdd <- serializeToBytes(text.rdd)
  ^~~~~~~
inst/tests/testthat/test_utils.R:60:3: style: Variable or function name should be snake_case.
  newF <- cleanClosure(f)
  ^~~~
inst/tests/testthat/test_utils.R:70:3: style: Variable or function name should be snake_case.
  funcEnv <- new.env(parent = env2)
  ^~~~~~~
inst/tests/testthat/test_utils.R:73:3: style: Variable or function name should be snake_case.
  newF <- cleanClosure(f)
  ^~~~
inst/tests/testthat/test_utils.R:84:3: style: Variable or function name should be snake_case.
  defUse <- 3
  ^~~~~~
inst/tests/testthat/test_utils.R:87:5: style: Variable or function name should be snake_case.
    defUse <- base::as.integer(x) + 1  # Test for access operators `::`.
    ^~~~~~
inst/tests/testthat/test_utils.R:93:3: style: Variable or function name should be snake_case.
  newF <- cleanClosure(f)
  ^~~~
inst/tests/testthat/test_utils.R:106:3: style: Variable or function name should be snake_case.
  newG <- get("g", envir = env, inherits = FALSE)
  ^~~~
inst/tests/testthat/test_utils.R:117:3: style: Variable or function name should be snake_case.
  newF <- cleanClosure(f)
  ^~~~
inst/tests/testthat/test_utils.R:126:3: style: Variable or function name should be snake_case.
  newF <- cleanClosure(f)
  ^~~~
inst/tests/testthat/test_utils.R:136:3: style: Variable or function name should be snake_case.
  aBroadcast <- broadcast(sc, a)
  ^~~~~~~~~~
inst/tests/testthat/test_utils.R:137:3: style: Variable or function name should be snake_case.
  normMultiply <- function(x) { norm(aBroadcast$value) * x }
  ^~~~~~~~~~~~
inst/tests/testthat/test_utils.R:138:3: style: Variable or function name should be snake_case.
  newnormMultiply <- SparkR:::cleanClosure(normMultiply)
  ^~~~~~~~~~~~~~~
inst/worker/daemon.R:20:1: style: Variable or function name should be snake_case.
rLibDir <- Sys.getenv("SPARKR_RLIBDIR")
^~~~~~~
inst/worker/daemon.R:29:1: style: Variable or function name should be snake_case.
inputCon <- socketConnection(port = port, open = "rb", blocking = TRUE, timeout = 3600)
^~~~~~~~
inst/worker/worker.R:21:1: style: Variable or function name should be snake_case.
currentTimeSecs <- function() {
^~~~~~~~~~~~~~~
inst/worker/worker.R:26:1: style: Variable or function name should be snake_case.
elapsedSecs <- function() {
^~~~~~~~~~~
inst/worker/worker.R:31:1: style: Variable or function name should be snake_case.
specialLengths <- list(END_OF_STERAM = 0L, TIMING_DATA = -1L)
^~~~~~~~~~~~~~
inst/worker/worker.R:34:1: style: Variable or function name should be snake_case.
bootTime <- currentTimeSecs()
^~~~~~~~
inst/worker/worker.R:35:1: style: Variable or function name should be snake_case.
bootElap <- elapsedSecs()
^~~~~~~~
inst/worker/worker.R:37:1: style: Variable or function name should be snake_case.
rLibDir <- Sys.getenv("SPARKR_RLIBDIR")
^~~~~~~
inst/worker/worker.R:46:1: style: Variable or function name should be snake_case.
inputCon <- socketConnection(port = port, blocking = TRUE, open = "rb")
^~~~~~~~
inst/worker/worker.R:47:1: style: Variable or function name should be snake_case.
outputCon <- socketConnection(port = port, blocking = TRUE, open = "wb")
^~~~~~~~~
inst/worker/worker.R:56:1: style: Variable or function name should be snake_case.
packageNames <- unserialize(SparkR:::readRaw(inputCon))
^~~~~~~~~~~~
inst/worker/worker.R:62:1: style: Variable or function name should be snake_case.
funcLen <- SparkR:::readInt(inputCon)
^~~~~~~
inst/worker/worker.R:63:1: style: Variable or function name should be snake_case.
computeFunc <- unserialize(SparkR:::readRawLen(inputCon, funcLen))
^~~~~~~~~~~
inst/worker/worker.R:68:1: style: Variable or function name should be snake_case.
initElap <- elapsedSecs()
^~~~~~~~
inst/worker/worker.R:71:1: style: Variable or function name should be snake_case.
numBroadcastVars <- SparkR:::readInt(inputCon)
^~~~~~~~~~~~~~~~
inst/worker/worker.R:74:5: style: Variable or function name should be snake_case.
    bcastId <- SparkR:::readInt(inputCon)
    ^~~~~~~
inst/worker/worker.R:81:1: style: Variable or function name should be snake_case.
broadcastElap <- elapsedSecs()
^~~~~~~~~~~~~
inst/worker/worker.R:85:1: style: Variable or function name should be snake_case.
numPartitions <- SparkR:::readInt(inputCon)
^~~~~~~~~~~~~
inst/worker/worker.R:87:1: style: Variable or function name should be snake_case.
isEmpty <- SparkR:::readInt(inputCon)
^~~~~~~
inst/worker/worker.R:101:5: style: Variable or function name should be snake_case.
    inputElap <- elapsedSecs()
    ^~~~~~~~~
inst/worker/worker.R:105:5: style: Variable or function name should be snake_case.
    computeElap <- elapsedSecs()
    ^~~~~~~~~~~
inst/worker/worker.R:116:5: style: Variable or function name should be snake_case.
    outputElap <- elapsedSecs()
    ^~~~~~~~~~
inst/worker/worker.R:127:5: style: Variable or function name should be snake_case.
    inputElap <- elapsedSecs()
    ^~~~~~~~~
inst/worker/worker.R:132:5: style: Variable or function name should be snake_case.
    hashTupleToEnvir <- function(tuple) {
    ^~~~~~~~~~~~~~~~
inst/worker/worker.R:134:7: style: Variable or function name should be snake_case.
      hashVal <- computeFunc(tuple[[1]])
      ^~~~~~~
inst/worker/worker.R:146:5: style: Variable or function name should be snake_case.
    computeElap <- elapsedSecs()
    ^~~~~~~~~~~
inst/worker/worker.R:157:5: style: Variable or function name should be snake_case.
    outputElap <- elapsedSecs()
    ^~~~~~~~~~
inst/worker/worker.R:160:3: style: Variable or function name should be snake_case.
  inputElap <- broadcastElap
  ^~~~~~~~~
inst/worker/worker.R:161:3: style: Variable or function name should be snake_case.
  computeElap <- broadcastElap
  ^~~~~~~~~~~
inst/worker/worker.R:162:3: style: Variable or function name should be snake_case.
  outputElap <- broadcastElap
  ^~~~~~~~~~
R/backend.R:22:1: style: Variable or function name should be snake_case.
isInstanceOf <- function(jobj, className) {
^~~~~~~~~~~~
R/backend.R:31:1: style: Variable or function name should be snake_case.
callJMethod <- function(objId, methodName, ...) {
^~~~~~~~~~~
R/backend.R:31:25: style: Variable or function name should be snake_case.
callJMethod <- function(objId, methodName, ...) {
                        ^~~~~
R/backend.R:31:32: style: Variable or function name should be snake_case.
callJMethod <- function(objId, methodName, ...) {
                               ^~~~~~~~~~
R/backend.R:41:1: style: Variable or function name should be snake_case.
callJStatic <- function(className, methodName, ...) {
^~~~~~~~~~~
R/backend.R:41:36: style: Variable or function name should be snake_case.
callJStatic <- function(className, methodName, ...) {
                                   ^~~~~~~~~~
R/backend.R:46:1: style: Variable or function name should be snake_case.
newJObject <- function(className, ...) {
^~~~~~~~~~
R/backend.R:52:1: style: Variable or function name should be snake_case.
removeJObject <- function(objId) {
^~~~~~~~~~~~~
R/backend.R:52:27: style: Variable or function name should be snake_case.
removeJObject <- function(objId) {
                          ^~~~~
R/backend.R:56:1: style: Variable or function name should be snake_case.
isRemoveMethod <- function(isStatic, objId, methodName) {
^~~~~~~~~~~~~~
R/backend.R:56:28: style: Variable or function name should be snake_case.
isRemoveMethod <- function(isStatic, objId, methodName) {
                           ^~~~~~~~
R/backend.R:56:38: style: Variable or function name should be snake_case.
isRemoveMethod <- function(isStatic, objId, methodName) {
                                     ^~~~~
R/backend.R:56:45: style: Variable or function name should be snake_case.
isRemoveMethod <- function(isStatic, objId, methodName) {
                                            ^~~~~~~~~~
R/backend.R:69:1: style: Variable or function name should be snake_case.
invokeJava <- function(isStatic, objId, methodName, ...) {
^~~~~~~~~~
R/backend.R:69:24: style: Variable or function name should be snake_case.
invokeJava <- function(isStatic, objId, methodName, ...) {
                       ^~~~~~~~
R/backend.R:69:34: style: Variable or function name should be snake_case.
invokeJava <- function(isStatic, objId, methodName, ...) {
                                 ^~~~~
R/backend.R:69:41: style: Variable or function name should be snake_case.
invokeJava <- function(isStatic, objId, methodName, ...) {
                                        ^~~~~~~~~~
R/backend.R:76:5: style: Variable or function name should be snake_case.
    objsToRemove <- ls(.toRemoveJobjs)
    ^~~~~~~~~~~~
R/backend.R:100:3: style: Variable or function name should be snake_case.
  bytesToSend <- rawConnectionValue(rc)
  ^~~~~~~~~~~
R/backend.R:105:3: style: Variable or function name should be snake_case.
  requestMessage <- rawConnectionValue(rc)
  ^~~~~~~~~~~~~~
R/backend.R:112:3: style: Variable or function name should be snake_case.
  returnStatus <- readInt(conn)
  ^~~~~~~~~~~~
R/broadcast.R:22:1: style: Variable or function name should be snake_case.
.broadcastNames <- new.env()
^~~~~~~~~~~~~~~
R/broadcast.R:23:1: style: Variable or function name should be snake_case.
.broadcastValues <- new.env()
^~~~~~~~~~~~~~~~
R/broadcast.R:24:1: style: Variable or function name should be snake_case.
.broadcastIdToName <- new.env()
^~~~~~~~~~~~~~~~~~
R/broadcast.R:41:1: style: Variable or function name should be snake_case.
Broadcast <- function(id, value, jBroadcastRef, objName) {
^~~~~~~~~
R/broadcast.R:41:34: style: Variable or function name should be snake_case.
Broadcast <- function(id, value, jBroadcastRef, objName) {
                                 ^~~~~~~~~~~~~
R/broadcast.R:41:49: style: Variable or function name should be snake_case.
Broadcast <- function(id, value, jBroadcastRef, objName) {
                                                ^~~~~~~
R/broadcast.R:75:1: style: Variable or function name should be snake_case.
setBroadcastValue <- function(bcastId, value) {
^~~~~~~~~~~~~~~~~
R/broadcast.R:75:31: style: Variable or function name should be snake_case.
setBroadcastValue <- function(bcastId, value) {
                              ^~~~~~~
R/broadcast.R:76:3: style: Variable or function name should be snake_case.
  bcastIdStr <- as.character(bcastId)
  ^~~~~~~~~~
R/broadcast.R:82:1: style: Variable or function name should be snake_case.
clearBroadcastVariables <- function() {
^~~~~~~~~~~~~~~~~~~~~~~
R/client.R:22:1: style: Variable or function name should be snake_case.
connectBackend <- function(hostname, port, timeout = 6000) {
^~~~~~~~~~~~~~
R/client.R:37:1: style: Variable or function name should be snake_case.
determineSparkSubmitBin <- function() {
^~~~~~~~~~~~~~~~~~~~~~~
R/client.R:39:5: style: Variable or function name should be snake_case.
    sparkSubmitBinName <- "spark-submit"
    ^~~~~~~~~~~~~~~~~~
R/client.R:41:5: style: Variable or function name should be snake_case.
    sparkSubmitBinName <- "spark-submit.cmd"
    ^~~~~~~~~~~~~~~~~~
R/client.R:46:1: style: Variable or function name should be snake_case.
generateSparkSubmitArgs <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
^~~~~~~~~~~~~~~~~~~~~~~
R/client.R:46:43: style: Variable or function name should be snake_case.
generateSparkSubmitArgs <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
                                          ^~~~~~~~~
R/client.R:46:60: style: Variable or function name should be snake_case.
generateSparkSubmitArgs <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
                                                           ^~~~~~~~~~~~~~~
R/client.R:59:3: style: Variable or function name should be snake_case.
  combinedArgs <- paste(jars, packages, sparkSubmitOpts, args, sep = " ")
  ^~~~~~~~~~~~
R/client.R:63:1: style: Variable or function name should be snake_case.
launchBackend <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
^~~~~~~~~~~~~
R/client.R:63:33: style: Variable or function name should be snake_case.
launchBackend <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
                                ^~~~~~~~~
R/client.R:63:50: style: Variable or function name should be snake_case.
launchBackend <- function(args, sparkHome, jars, sparkSubmitOpts, packages) {
                                                 ^~~~~~~~~~~~~~~
R/client.R:64:3: style: Variable or function name should be snake_case.
  sparkSubmitBinName <- determineSparkSubmitBin()
  ^~~~~~~~~~~~~~~~~~
R/client.R:66:5: style: Variable or function name should be snake_case.
    sparkSubmitBin <- file.path(sparkHome, "bin", sparkSubmitBinName)
    ^~~~~~~~~~~~~~
R/client.R:68:5: style: Variable or function name should be snake_case.
    sparkSubmitBin <- sparkSubmitBinName
    ^~~~~~~~~~~~~~
R/client.R:70:3: style: Variable or function name should be snake_case.
  combinedArgs <- generateSparkSubmitArgs(args, sparkHome, jars, sparkSubmitOpts, packages)
  ^~~~~~~~~~~~
R/column.R:34:44: style: Variable or function name should be snake_case.
setMethod("initialize", "Column", function(.Object, jc) {
                                           ^~~~~~~
R/column.R:62:1: style: Variable or function name should be snake_case.
createOperator <- function(op) {
^~~~~~~~~~~~~~
R/column.R:86:1: style: Variable or function name should be snake_case.
createColumnFunction1 <- function(name) {
^~~~~~~~~~~~~~~~~~~~~
R/column.R:94:1: style: Variable or function name should be snake_case.
createColumnFunction2 <- function(name) {
^~~~~~~~~~~~~~~~~~~~~
R/column.R:106:1: style: Variable or function name should be snake_case.
createMethods <- function() {
^~~~~~~~~~~~~
R/column.R:185:23: style: Variable or function name should be snake_case.
          function(x, dataType) {
                      ^~~~~~~~
R/column.R:190:15: style: Variable or function name should be snake_case.
              jdataType <- callJStatic("org.apache.spark.sql.types.DataType", "fromJson", json)
              ^~~~~~~~~
R/context.R:20:1: style: Variable or function name should be snake_case.
getMinPartitions <- function(sc, minPartitions) {
^~~~~~~~~~~~~~~~
R/context.R:20:34: style: Variable or function name should be snake_case.
getMinPartitions <- function(sc, minPartitions) {
                                 ^~~~~~~~~~~~~
R/context.R:22:5: style: Variable or function name should be snake_case.
    defaultParallelism <- callJMethod(sc, "defaultParallelism")
    ^~~~~~~~~~~~~~~~~~
R/context.R:23:5: style: Variable or function name should be snake_case.
    minPartitions <- min(defaultParallelism, 2)
    ^~~~~~~~~~~~~
R/context.R:45:1: style: Variable or function name should be snake_case.
textFile <- function(sc, path, minPartitions = NULL) {
^~~~~~~~
R/context.R:45:32: style: Variable or function name should be snake_case.
textFile <- function(sc, path, minPartitions = NULL) {
                               ^~~~~~~~~~~~~
R/context.R:73:1: style: Variable or function name should be snake_case.
objectFile <- function(sc, path, minPartitions = NULL) {
^~~~~~~~~~
R/context.R:73:34: style: Variable or function name should be snake_case.
objectFile <- function(sc, path, minPartitions = NULL) {
                                 ^~~~~~~~~~~~~
R/context.R:102:35: style: Variable or function name should be snake_case.
parallelize <- function(sc, coll, numSlices = 1) {
                                  ^~~~~~~~~
R/context.R:124:5: style: Variable or function name should be snake_case.
    numSlices <- length(coll)
    ^~~~~~~~~
R/context.R:126:3: style: Variable or function name should be snake_case.
  sliceLen <- ceiling(length(coll) / numSlices)
  ^~~~~~~~
R/context.R:131:3: style: Variable or function name should be snake_case.
  serializedSlices <- lapply(slices, serialize, connection = NULL)
  ^~~~~~~~~~~~~~~~
R/context.R:165:1: style: Variable or function name should be snake_case.
includePackage <- function(sc, pkg) {
^~~~~~~~~~~~~~
R/context.R:201:3: style: Variable or function name should be snake_case.
  objName <- as.character(substitute(object))
  ^~~~~~~
R/context.R:202:3: style: Variable or function name should be snake_case.
  serializedObj <- serialize(object, connection = NULL)
  ^~~~~~~~~~~~~
R/context.R:204:3: style: Variable or function name should be snake_case.
  jBroadcast <- callJMethod(sc, "broadcast", serializedObj)
  ^~~~~~~~~~
R/context.R:225:1: style: Variable or function name should be snake_case.
setCheckpointDir <- function(sc, dirName) {
^~~~~~~~~~~~~~~~
R/context.R:225:34: style: Variable or function name should be snake_case.
setCheckpointDir <- function(sc, dirName) {
                                 ^~~~~~~
R/DataFrame.R:47:47: style: Variable or function name should be snake_case.
setMethod("initialize", "DataFrame", function(.Object, sdf, isCached) {
                                              ^~~~~~~
R/DataFrame.R:47:61: style: Variable or function name should be snake_case.
setMethod("initialize", "DataFrame", function(.Object, sdf, isCached) {
                                                            ^~~~~~~~
R/DataFrame.R:49:15: style: Variable or function name should be snake_case.
  .Object@env$isCached <- isCached
              ^~~~~~~~
R/DataFrame.R:59:1: style: Variable or function name should be snake_case.
dataFrame <- function(sdf, isCached = FALSE) {
^~~~~~~~~
R/DataFrame.R:59:28: style: Variable or function name should be snake_case.
dataFrame <- function(sdf, isCached = FALSE) {
                           ^~~~~~~~
R/DataFrame.R:86:13: style: Variable or function name should be snake_case.
            schemaString <- callJMethod(schema(x)$jobj, "treeString")
            ^~~~~~~~~~~~
R/DataFrame.R:135:13: style: Variable or function name should be snake_case.
            queryExec <- callJMethod(x@sdf, "queryExecution")
            ^~~~~~~~~
R/DataFrame.R:139:15: style: Variable or function name should be snake_case.
              execPlan <- callJMethod(queryExec, "executedPlan")
              ^~~~~~~~
R/DataFrame.R:190:23: style: Variable or function name should be snake_case.
          function(x, numRows = 20, truncate = TRUE) {
                      ^~~~~~~
R/DataFrame.R:354:13: style: Variable or function name should be snake_case.
            rTypes <- sapply(types, USE.NAMES = F, FUN = function(x) {
            ^~~~~~
R/DataFrame.R:375:13: style: Variable or function name should be snake_case.
            naIndices <- which(is.na(rTypes))
            ^~~~~~~~~
R/DataFrame.R:414:13: style: Variable or function name should be snake_case.
            newCols <- lapply(seq_len(ncols), function(i) {
            ^~~~~~~
R/DataFrame.R:452:23: style: Variable or function name should be snake_case.
          function(x, tableName) {
                      ^~~~~~~~~
R/DataFrame.R:480:23: style: Variable or function name should be snake_case.
          function(x, tableName, overwrite = FALSE) {
                      ^~~~~~~~~
R/DataFrame.R:506:19: style: Variable or function name should be snake_case.
            x@env$isCached <- TRUE
                  ^~~~~~~~
R/DataFrame.R:532:23: style: Variable or function name should be snake_case.
          function(x, newLevel) {
                      ^~~~~~~~
R/DataFrame.R:534:19: style: Variable or function name should be snake_case.
            x@env$isCached <- TRUE
                  ^~~~~~~~
R/DataFrame.R:563:19: style: Variable or function name should be snake_case.
            x@env$isCached <- FALSE
                  ^~~~~~~~
R/DataFrame.R:588:23: style: Variable or function name should be snake_case.
          function(x, numPartitions) {
                      ^~~~~~~~~~~~~
R/DataFrame.R:770:23: style: Variable or function name should be snake_case.
          function(x, withReplacement, fraction, seed) {
                      ^~~~~~~~~~~~~~~
R/DataFrame.R:787:23: style: Variable or function name should be snake_case.
          function(x, withReplacement, fraction, seed) {
                      ^~~~~~~~~~~~~~~
R/DataFrame.R:887:23: style: Variable or function name should be snake_case.
          function(x, stringsAsFactors = FALSE) {
                      ^~~~~~~~~~~~~~~~
R/DataFrame.R:895:15: style: Variable or function name should be snake_case.
              listCols <- callJStatic("org.apache.spark.sql.api.r.SQLUtils", "dfToCols", x@sdf)
              ^~~~~~~~
R/DataFrame.R:920:19: style: Variable or function name should be snake_case.
                  colType <- dtypes[[colIndex]][[2]]
                  ^~~~~~~
R/DataFrame.R:1054:13: style: Variable or function name should be snake_case.
            colNames <- callJMethod(x@sdf, "columns")
            ^~~~~~~~
R/DataFrame.R:1136:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/DataFrame.R:1136:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/DataFrame.R:1145:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/DataFrame.R:1145:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/DataFrame.R:1153:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/DataFrame.R:1153:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/DataFrame.R:1162:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/DataFrame.R:1162:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/DataFrame.R:1171:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/DataFrame.R:1171:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/DataFrame.R:1196:1: style: Variable or function name should be snake_case.
getColumn <- function(x, c) {
^~~~~~~~~
R/DataFrame.R:1399:13: style: Variable or function name should be snake_case.
            exprList <- list(expr, ...)
            ^~~~~~~~
R/DataFrame.R:1427:23: style: Variable or function name should be snake_case.
          function(x, colName, col) {
                      ^~~~~~~
R/DataFrame.R:1502:23: style: Variable or function name should be snake_case.
          function(x, existingCol, newCol) {
                      ^~~~~~~~~~~
R/DataFrame.R:1502:36: style: Variable or function name should be snake_case.
          function(x, existingCol, newCol) {
                                   ^~~~~~
R/DataFrame.R:1528:13: style: Variable or function name should be snake_case.
            renameCols <- list(...)
            ^~~~~~~~~~
R/DataFrame.R:1531:13: style: Variable or function name should be snake_case.
            newNames <- names(renameCols)
            ^~~~~~~~
R/DataFrame.R:1532:13: style: Variable or function name should be snake_case.
            oldNames <- lapply(renameCols, function(col) {
            ^~~~~~~~
R/DataFrame.R:1694:26: style: Variable or function name should be snake_case.
          function(x, y, joinExpr = NULL, joinType = NULL) {
                         ^~~~~~~~
R/DataFrame.R:1694:43: style: Variable or function name should be snake_case.
          function(x, y, joinExpr = NULL, joinType = NULL) {
                                          ^~~~~~~~
R/DataFrame.R:1705:19: style: Variable or function name should be snake_case.
                  joinType <- gsub("_", "", joinType)
                  ^~~~~~~~
R/DataFrame.R:1755:62: style: Variable or function name should be snake_case.
          function(x, y, by = intersect(names(x), names(y)), by.x = by, by.y = by,
                                                             ^~~~
R/DataFrame.R:1755:73: style: Variable or function name should be snake_case.
          function(x, y, by = intersect(names(x), names(y)), by.x = by, by.y = by,
                                                                        ^~~~
R/DataFrame.R:1756:33: style: Variable or function name should be snake_case.
                   all = FALSE, all.x = all, all.y = all,
                                ^~~~~
R/DataFrame.R:1756:46: style: Variable or function name should be snake_case.
                   all = FALSE, all.x = all, all.y = all,
                                             ^~~~~
R/DataFrame.R:1757:62: style: Do not place spaces around code in parentheses or square brackets.
                   sort = TRUE, suffixes = c("_x", "_y"), ... ) {
                                                             ^
R/DataFrame.R:1766:13: style: Variable or function name should be snake_case.
            joinType <- "inner"
            ^~~~~~~~
R/DataFrame.R:1768:15: style: Variable or function name should be snake_case.
              joinType <- "outer"
              ^~~~~~~~
R/DataFrame.R:1770:15: style: Variable or function name should be snake_case.
              joinType <- "left_outer"
              ^~~~~~~~
R/DataFrame.R:1772:15: style: Variable or function name should be snake_case.
              joinType <- "right_outer"
              ^~~~~~~~
R/DataFrame.R:1778:15: style: Variable or function name should be snake_case.
              joinX <- by.x
              ^~~~~
R/DataFrame.R:1779:15: style: Variable or function name should be snake_case.
              joinY <- by.y
              ^~~~~
R/DataFrame.R:1783:15: style: Variable or function name should be snake_case.
              joinX <- by
              ^~~~~
R/DataFrame.R:1784:15: style: Variable or function name should be snake_case.
              joinY <- by
              ^~~~~
R/DataFrame.R:1787:15: style: Variable or function name should be snake_case.
              joinRes <- join(x, y)
              ^~~~~~~
R/DataFrame.R:1788:22: style: Remove spaces before the left parenthesis in a function call.
              return (joinRes)
                     ^
R/DataFrame.R:1792:13: style: Variable or function name should be snake_case.
            colsX <- generateAliasesForIntersectedCols(x, by, suffixes[1])
            ^~~~~
R/DataFrame.R:1793:13: style: Variable or function name should be snake_case.
            colsY <- generateAliasesForIntersectedCols(y, by, suffixes[2])
            ^~~~~
R/DataFrame.R:1802:13: style: Variable or function name should be snake_case.
            joinColumns <- lapply(seq_len(length(joinX)), function(i) {
            ^~~~~~~~~~~
R/DataFrame.R:1803:15: style: Variable or function name should be snake_case.
              colX <- joinX[[i]]
              ^~~~
R/DataFrame.R:1804:15: style: Variable or function name should be snake_case.
              colY <- joinY[[i]]
              ^~~~
R/DataFrame.R:1807:17: style: Variable or function name should be snake_case.
                colX <- paste(colX, suffixes[1], sep = "")
                ^~~~
R/DataFrame.R:1810:17: style: Variable or function name should be snake_case.
                colY <- paste(colY, suffixes[2], sep = "")
                ^~~~
R/DataFrame.R:1813:15: style: Variable or function name should be snake_case.
              colX <- getColumn(xsel, colX)
              ^~~~
R/DataFrame.R:1814:15: style: Variable or function name should be snake_case.
              colY <- getColumn(ysel, colY)
              ^~~~
R/DataFrame.R:1820:13: style: Variable or function name should be snake_case.
            joinExpr <- Reduce("&", joinColumns)
            ^~~~~~~~
R/DataFrame.R:1821:13: style: Variable or function name should be snake_case.
            joinRes <- join(xsel, ysel, joinExpr, joinType)
            ^~~~~~~
R/DataFrame.R:1825:15: style: Variable or function name should be snake_case.
              colNameWithSuffix <- paste(by, suffixes[2], sep = "")
              ^~~~~~~~~~~~~~~~~
R/DataFrame.R:1826:15: style: Variable or function name should be snake_case.
              joinRes <- do.call("arrange", c(joinRes, colNameWithSuffix, decreasing = FALSE))
              ^~~~~~~
R/DataFrame.R:1841:1: style: Variable and function names should not be longer than 30 characters.
generateAliasesForIntersectedCols <- function (x, intersectedColNames, suffix) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/DataFrame.R:1841:1: style: Variable or function name should be snake_case.
generateAliasesForIntersectedCols <- function (x, intersectedColNames, suffix) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/DataFrame.R:1841:47: style: Remove spaces before the left parenthesis in a function call.
generateAliasesForIntersectedCols <- function (x, intersectedColNames, suffix) {
                                              ^
R/DataFrame.R:1841:51: style: Variable or function name should be snake_case.
generateAliasesForIntersectedCols <- function (x, intersectedColNames, suffix) {
                                                  ^~~~~~~~~~~~~~~~~~~
R/DataFrame.R:1842:3: style: Variable or function name should be snake_case.
  allColNames <- names(x)
  ^~~~~~~~~~~
R/DataFrame.R:1844:40: style: Variable or function name should be snake_case.
  cols <- lapply(allColNames, function(colName) {
                                       ^~~~~~~
R/DataFrame.R:1847:7: style: Variable or function name should be snake_case.
      newJoin <- paste(colName, suffix, sep = "")
      ^~~~~~~
R/DataFrame.R:1849:14: style: Remove spaces before the left parenthesis in a function call.
        stop ("The following column name: ", newJoin, " occurs more than once in the 'DataFrame'.",
             ^
R/DataFrame.R:1895:28: style: Variable or function name should be snake_case.
          function(x, ..., deparse.level = 1) {
                           ^~~~~~~~~~~~~
R/DataFrame.R:1996:17: style: Variable or function name should be snake_case.
                sqlContext <- get(".sparkRSQLsc", envir = .sparkREnv)
                ^~~~~~~~~~
R/DataFrame.R:1998:17: style: Variable or function name should be snake_case.
                sqlContext <- get(".sparkRHivesc", envir = .sparkREnv)
                ^~~~~~~~~~
R/DataFrame.R:2005:13: style: Variable or function name should be snake_case.
            allModes <- c("append", "overwrite", "error", "ignore")
            ^~~~~~~~
R/DataFrame.R:2063:24: style: Variable or function name should be snake_case.
          function(df, tableName, source = NULL, mode="error", ...){
                       ^~~~~~~~~
R/DataFrame.R:2066:17: style: Variable or function name should be snake_case.
                sqlContext <- get(".sparkRSQLsc", envir = .sparkREnv)
                ^~~~~~~~~~
R/DataFrame.R:2068:17: style: Variable or function name should be snake_case.
                sqlContext <- get(".sparkRHivesc", envir = .sparkREnv)
                ^~~~~~~~~~
R/DataFrame.R:2075:13: style: Variable or function name should be snake_case.
            allModes <- c("append", "overwrite", "error", "ignore")
            ^~~~~~~~
R/DataFrame.R:2112:13: style: Variable or function name should be snake_case.
            colList <- list(col, ...)
            ^~~~~~~
R/DataFrame.R:2122:13: style: Variable or function name should be snake_case.
            colList <- as.list(c(columns(x)))
            ^~~~~~~
R/DataFrame.R:2165:46: style: Variable or function name should be snake_case.
          function(x, how = c("any", "all"), minNonNulls = NULL, cols = NULL) {
                                             ^~~~~~~~~~~
R/DataFrame.R:2171:15: style: Variable or function name should be snake_case.
              minNonNulls <- if (how == "any") { length(cols) } else { 1 }
              ^~~~~~~~~~~
R/DataFrame.R:2174:13: style: Variable or function name should be snake_case.
            naFunctions <- callJMethod(x@sdf, "na")
            ^~~~~~~~~~~
R/DataFrame.R:2185:51: style: Variable or function name should be snake_case.
          function(object, how = c("any", "all"), minNonNulls = NULL, cols = NULL) {
                                                  ^~~~~~~~~~~
R/DataFrame.R:2227:15: style: Variable or function name should be snake_case.
              colNames <- names(value)
              ^~~~~~~~
R/DataFrame.R:2239:15: style: Variable or function name should be snake_case.
              valueMap <- convertNamedListToEnv(value)
              ^~~~~~~~
R/DataFrame.R:2253:13: style: Variable or function name should be snake_case.
            naFunctions <- callJMethod(x@sdf, "na")
            ^~~~~~~~~~~
R/DataFrame.R:2307:69: style: Variable or function name should be snake_case.
          function(what, pos = 2, name = deparse(substitute(what)), warn.conflicts = TRUE) {
                                                                    ^~~~~~~~~~~~~~
R/DataFrame.R:2308:13: style: Variable or function name should be snake_case.
            newEnv <- assignNewEnv(what)
            ^~~~~~
R/DataFrame.R:2331:13: style: Variable or function name should be snake_case.
            newEnv <- assignNewEnv(data)
            ^~~~~~
R/DataFrame.R:2345:3: style: Trailing whitespace is superfluous.
#' 
  ^
R/DataFrame.R:2354:13: style: Variable or function name should be snake_case.
            MAX_CHAR_PER_ROW <- 120
            ^~~~~~~~~~~~~~~~
R/DataFrame.R:2355:13: style: Variable or function name should be snake_case.
            MAX_COLS <- 100
            ^~~~~~~~
R/DataFrame.R:2362:13: style: Variable or function name should be snake_case.
            localDF <- if (ncol(object) > MAX_COLS) {
            ^~~~~~~
R/DataFrame.R:2376:17: style: Variable or function name should be snake_case.
                firstElements <- if (types[i] == "character") {
                ^~~~~~~~~~~~~
R/DataFrame.R:2387:17: style: Variable or function name should be snake_case.
                dataType <- SHORT_TYPES[[types[i]]]
                ^~~~~~~~
R/DataFrame.R:2389:19: style: Variable or function name should be snake_case.
                  dataType <- substring(types[i], 1, 3)
                  ^~~~~~~~
R/deserialize.R:39:1: style: Variable or function name should be snake_case.
readObject <- function(con) {
^~~~~~~~~~
R/deserialize.R:45:1: style: Variable or function name should be snake_case.
readTypedObject <- function(con, type) {
^~~~~~~~~~~~~~~
R/deserialize.R:46:10: style: Remove spaces before the left parenthesis in a function call.
  switch (type,
         ^
R/deserialize.R:63:1: style: Variable or function name should be snake_case.
readString <- function(con) {
^~~~~~~~~~
R/deserialize.R:64:3: style: Variable or function name should be snake_case.
  stringLen <- readInt(con)
  ^~~~~~~~~
R/deserialize.R:71:1: style: Variable or function name should be snake_case.
readInt <- function(con) {
^~~~~~~
R/deserialize.R:75:1: style: Variable or function name should be snake_case.
readDouble <- function(con) {
^~~~~~~~~~
R/deserialize.R:79:1: style: Variable or function name should be snake_case.
readBoolean <- function(con) {
^~~~~~~~~~~
R/deserialize.R:83:1: style: Variable or function name should be snake_case.
readType <- function(con) {
^~~~~~~~
R/deserialize.R:87:1: style: Variable or function name should be snake_case.
readDate <- function(con) {
^~~~~~~~
R/deserialize.R:91:1: style: Variable or function name should be snake_case.
readTime <- function(con) {
^~~~~~~~
R/deserialize.R:96:1: style: Variable or function name should be snake_case.
readArray <- function(con) {
^~~~~~~~~
R/deserialize.R:112:1: style: Variable or function name should be snake_case.
readList <- function(con) {
^~~~~~~~
R/deserialize.R:129:1: style: Variable or function name should be snake_case.
readEnv <- function(con) {
^~~~~~~
R/deserialize.R:144:1: style: Variable or function name should be snake_case.
readStruct <- function(con) {
^~~~~~~~~~
R/deserialize.R:151:1: style: Variable or function name should be snake_case.
readRaw <- function(con) {
^~~~~~~
R/deserialize.R:152:3: style: Variable or function name should be snake_case.
  dataLen <- readInt(con)
  ^~~~~~~
R/deserialize.R:156:1: style: Variable or function name should be snake_case.
readRawLen <- function(con, dataLen) {
^~~~~~~~~~
R/deserialize.R:156:29: style: Variable or function name should be snake_case.
readRawLen <- function(con, dataLen) {
                            ^~~~~~~
R/deserialize.R:160:1: style: Variable or function name should be snake_case.
readDeserialize <- function(con) {
^~~~~~~~~~~~~~~
R/deserialize.R:164:3: style: Variable or function name should be snake_case.
  dataLen <- readInt(con)
  ^~~~~~~
R/deserialize.R:165:3: style: Variable or function name should be snake_case.
  firstData <- unserialize(
  ^~~~~~~~~
R/deserialize.R:169:3: style: Variable or function name should be snake_case.
  dataLen <- readInt(con)
  ^~~~~~~
R/deserialize.R:175:7: style: Variable or function name should be snake_case.
      dataLen <- readInt(con)
      ^~~~~~~
R/deserialize.R:183:1: style: Variable or function name should be snake_case.
readMultipleObjects <- function(inputCon) {
^~~~~~~~~~~~~~~~~~~
R/deserialize.R:183:33: style: Variable or function name should be snake_case.
readMultipleObjects <- function(inputCon) {
                                ^~~~~~~~
R/deserialize.R:200:1: style: Variable or function name should be snake_case.
readRowList <- function(obj) {
^~~~~~~~~~~
R/deserialize.R:205:3: style: Variable or function name should be snake_case.
  rawObj <- rawConnection(obj, "r+")
  ^~~~~~
R/functions.R:1575:49: style: Remove spaces before the left parenthesis in a function call.
            jcols <- lapply(list(...), function (x) {
                                                ^
R/functions.R:1597:52: style: Remove spaces before the left parenthesis in a function call.
            jcols <- lapply(list(x, ...), function (x) {
                                                   ^
R/functions.R:1619:52: style: Remove spaces before the left parenthesis in a function call.
            jcols <- lapply(list(x, ...), function (x) {
                                                   ^
R/functions.R:1641:52: style: Remove spaces before the left parenthesis in a function call.
            jcols <- lapply(list(x, ...), function (x) {
                                                   ^
R/functions.R:1707:1: style: Lines should not be more than 100 characters.
#' A pattern could be for instance \preformatted{dd.MM.yyyy} and could return a string like '18.03.1993'. All
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/functions.R:1966:23: style: Variable or function name should be snake_case.
          function(x, fromBase, toBase) {
                      ^~~~~~~~
R/functions.R:1966:33: style: Variable or function name should be snake_case.
          function(x, fromBase, toBase) {
                                ^~~~~~
R/functions.R:1967:13: style: Variable or function name should be snake_case.
            fromBase <- as.integer(fromBase)
            ^~~~~~~~
R/functions.R:1968:13: style: Variable or function name should be snake_case.
            toBase <- as.integer(toBase)
            ^~~~~~
R/functions.R:2208:23: style: Variable or function name should be snake_case.
          function(x, matchingString, replaceString) {
                      ^~~~~~~~~~~~~~
R/functions.R:2208:39: style: Variable or function name should be snake_case.
          function(x, matchingString, replaceString) {
                                      ^~~~~~~~~~~~~
R/functions.R:2358:31: style: Variable or function name should be snake_case.
          function(x, offset, defaultValue = NULL) {
                              ^~~~~~~~~~~~
R/functions.R:2385:31: style: Variable or function name should be snake_case.
          function(x, offset, defaultValue = NULL) {
                              ^~~~~~~~~~~~
R/generics.R:24:24: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp) { standardGeneric("aggregateRDD") })
                       ^~~~~~~~~
R/generics.R:24:35: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp) { standardGeneric("aggregateRDD") })
                                  ^~~~~
R/generics.R:24:42: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp) { standardGeneric("aggregateRDD") })
                                         ^~~~~~
R/generics.R:33:36: style: Variable or function name should be snake_case.
setGeneric("coalesce", function(x, numPartitions, ...) { standardGeneric("coalesce") })
                                   ^~~~~~~~~~~~~
R/generics.R:50:24: style: Variable or function name should be snake_case.
           function(x, partitionId) {
                       ^~~~~~~~~~~
R/generics.R:72:36: style: Variable or function name should be snake_case.
setGeneric("distinct", function(x, numPartitions = 1) { standardGeneric("distinct") })
                                   ^~~~~~~~~~~~~
R/generics.R:84:32: style: Variable or function name should be snake_case.
setGeneric("flatMap", function(X, FUN) { standardGeneric("flatMap") })
                               ^
R/generics.R:84:35: style: Variable or function name should be snake_case.
setGeneric("flatMap", function(X, FUN) { standardGeneric("flatMap") })
                                  ^~~
R/generics.R:89:32: style: Variable or function name should be snake_case.
setGeneric("fold", function(x, zeroValue, op) { standardGeneric("fold") })
                               ^~~~~~~~~
R/generics.R:106:40: style: Variable or function name should be snake_case.
setGeneric("lapplyPartition", function(X, FUN) { standardGeneric("lapplyPartition") })
                                       ^
R/generics.R:106:43: style: Variable or function name should be snake_case.
setGeneric("lapplyPartition", function(X, FUN) { standardGeneric("lapplyPartition") })
                                          ^~~
R/generics.R:109:21: style: Variable or function name should be snake_case.
           function(X, FUN) {
                    ^
R/generics.R:109:24: style: Variable or function name should be snake_case.
           function(X, FUN) {
                       ^~~
R/generics.R:113:28: style: Variable or function name should be snake_case.
setGeneric("map", function(X, FUN) { standardGeneric("map") })
                           ^
R/generics.R:113:31: style: Variable or function name should be snake_case.
setGeneric("map", function(X, FUN) { standardGeneric("map") })
                              ^~~
R/generics.R:115:38: style: Variable or function name should be snake_case.
setGeneric("mapPartitions", function(X, FUN) { standardGeneric("mapPartitions") })
                                     ^
R/generics.R:115:41: style: Variable or function name should be snake_case.
setGeneric("mapPartitions", function(X, FUN) { standardGeneric("mapPartitions") })
                                        ^~~
R/generics.R:118:21: style: Variable or function name should be snake_case.
           function(X, FUN) { standardGeneric("mapPartitionsWithIndex") })
                    ^
R/generics.R:118:24: style: Variable or function name should be snake_case.
           function(X, FUN) { standardGeneric("mapPartitionsWithIndex") })
                       ^~~
R/generics.R:146:35: style: Variable or function name should be snake_case.
setGeneric("persist", function(x, newLevel) { standardGeneric("persist") })
                                  ^~~~~~~~
R/generics.R:159:39: style: Variable or function name should be snake_case.
setGeneric("repartition", function(x, numPartitions) { standardGeneric("repartition") })
                                      ^~~~~~~~~~~~~
R/generics.R:164:24: style: Variable or function name should be snake_case.
           function(x, withReplacement, fraction, seed) {
                       ^~~~~~~~~~~~~~~
R/generics.R:184:48: style: Variable or function name should be snake_case.
           function(x, func, ascending = TRUE, numPartitions = 1) {
                                               ^~~~~~~~~~~~~
R/generics.R:199:24: style: Variable or function name should be snake_case.
           function(x, withReplacement, num, seed) {
                       ^~~~~~~~~~~~~~~
R/generics.R:247:38: style: Variable or function name should be snake_case.
setGeneric("flatMapValues", function(X, FUN) { standardGeneric("flatMapValues") })
                                     ^
R/generics.R:247:41: style: Variable or function name should be snake_case.
setGeneric("flatMapValues", function(X, FUN) { standardGeneric("flatMapValues") })
                                        ^~~
R/generics.R:252:31: style: Variable or function name should be snake_case.
           function(x, other, numPartitions = 1) {
                              ^~~~~~~~~~~~~
R/generics.R:266:34: style: Variable or function name should be snake_case.
setGeneric("mapValues", function(X, FUN) { standardGeneric("mapValues") })
                                 ^
R/generics.R:266:37: style: Variable or function name should be snake_case.
setGeneric("mapValues", function(X, FUN) { standardGeneric("mapValues") })
                                    ^~~
R/generics.R:271:24: style: Variable or function name should be snake_case.
           function(x, withReplacement, fractions, seed) {
                       ^~~~~~~~~~~~~~~
R/generics.R:286:24: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp, numPartitions) {
                       ^~~~~~~~~
R/generics.R:286:35: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp, numPartitions) {
                                  ^~~~~
R/generics.R:286:42: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp, numPartitions) {
                                         ^~~~~~
R/generics.R:286:50: style: Variable or function name should be snake_case.
           function(x, zeroValue, seqOp, combOp, numPartitions) {
                                                 ^~~~~~~~~~~~~
R/generics.R:293:26: style: Variable or function name should be snake_case.
           function(..., numPartitions) {
                         ^~~~~~~~~~~~~
R/generics.R:302:24: style: Variable or function name should be snake_case.
           function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                       ^~~~~~~~~~~~~~
R/generics.R:302:40: style: Variable or function name should be snake_case.
           function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                       ^~~~~~~~~~
R/generics.R:302:52: style: Variable or function name should be snake_case.
           function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                                   ^~~~~~~~~~~~~~
R/generics.R:302:68: style: Variable or function name should be snake_case.
           function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                                                   ^~~~~~~~~~~~~
R/generics.R:310:24: style: Variable or function name should be snake_case.
           function(x, zeroValue, func, numPartitions) {
                       ^~~~~~~~~
R/generics.R:310:41: style: Variable or function name should be snake_case.
           function(x, zeroValue, func, numPartitions) {
                                        ^~~~~~~~~~~~~
R/generics.R:316:44: style: Variable or function name should be snake_case.
setGeneric("fullOuterJoin", function(x, y, numPartitions) { standardGeneric("fullOuterJoin") })
                                           ^~~~~~~~~~~~~
R/generics.R:321:38: style: Variable or function name should be snake_case.
setGeneric("groupByKey", function(x, numPartitions) { standardGeneric("groupByKey") })
                                     ^~~~~~~~~~~~~
R/generics.R:329:44: style: Variable or function name should be snake_case.
setGeneric("leftOuterJoin", function(x, y, numPartitions) { standardGeneric("leftOuterJoin") })
                                           ^~~~~~~~~~~~~
R/generics.R:333:39: style: Variable or function name should be snake_case.
setGeneric("partitionBy", function(x, numPartitions, ...) { standardGeneric("partitionBy") })
                                      ^~~~~~~~~~~~~
R/generics.R:338:39: style: Variable or function name should be snake_case.
setGeneric("reduceByKey", function(x, combineFunc, numPartitions) { standardGeneric("reduceByKey")})
                                      ^~~~~~~~~~~
R/generics.R:338:52: style: Variable or function name should be snake_case.
setGeneric("reduceByKey", function(x, combineFunc, numPartitions) { standardGeneric("reduceByKey")})
                                                   ^~~~~~~~~~~~~
R/generics.R:344:24: style: Variable or function name should be snake_case.
           function(x, combineFunc) {
                       ^~~~~~~~~~~
R/generics.R:350:45: style: Variable or function name should be snake_case.
setGeneric("rightOuterJoin", function(x, y, numPartitions) { standardGeneric("rightOuterJoin") })
                                            ^~~~~~~~~~~~~
R/generics.R:355:42: style: Variable or function name should be snake_case.
           function(x, ascending = TRUE, numPartitions = 1) {
                                         ^~~~~~~~~~~~~
R/generics.R:362:31: style: Variable or function name should be snake_case.
           function(x, other, numPartitions = 1) {
                              ^~~~~~~~~~~~~
R/generics.R:369:31: style: Variable or function name should be snake_case.
           function(x, other, numPartitions = 1) {
                              ^~~~~~~~~~~~~
R/generics.R:385:28: style: Remove spaces before the left parenthesis in a function call.
setGeneric("agg", function (x, ...) { standardGeneric("agg") })
                           ^
R/generics.R:401:36: style: Variable or function name should be snake_case.
setGeneric("colnames", function(x, do.NULL = TRUE, prefix = "col") { standardGeneric("colnames") })
                                   ^~~~~~~
R/generics.R:434:47: style: Variable or function name should be snake_case.
           function(x, how = c("any", "all"), minNonNulls = NULL, cols = NULL) {
                                              ^~~~~~~~~~~
R/generics.R:475:38: style: Variable or function name should be snake_case.
setGeneric("insertInto", function(x, tableName, ...) { standardGeneric("insertInto") })
                                     ^~~~~~~~~
R/generics.R:511:45: style: Variable or function name should be snake_case.
setGeneric("registerTempTable", function(x, tableName) { standardGeneric("registerTempTable") })
                                            ^~~~~~~~~
R/generics.R:516:24: style: Variable or function name should be snake_case.
           function(x, withReplacement, fraction, seed) {
                       ^~~~~~~~~~~~~~~
R/generics.R:523:24: style: Variable or function name should be snake_case.
           function(x, withReplacement, fraction, seed) { standardGeneric("sample_frac") })
                       ^~~~~~~~~~~~~~~
R/generics.R:531:40: style: Variable or function name should be snake_case.
setGeneric("saveAsTable", function(df, tableName, source = NULL, mode = "error", ...) {
                                       ^~~~~~~~~
R/generics.R:576:73: style: Do not place spaces around code in parentheses or square brackets.
setGeneric("select", function(x, col, ...) { standardGeneric("select") } )
                                                                        ^
R/generics.R:616:38: style: Variable or function name should be snake_case.
setGeneric("withColumn", function(x, colName, col) { standardGeneric("withColumn") })
                                     ^~~~~~~
R/generics.R:621:24: style: Variable or function name should be snake_case.
           function(x, existingCol, newCol) { standardGeneric("withColumnRenamed") })
                       ^~~~~~~~~~~
R/generics.R:621:37: style: Variable or function name should be snake_case.
           function(x, existingCol, newCol) { standardGeneric("withColumnRenamed") })
                                    ^~~~~~
R/generics.R:639:32: style: Variable or function name should be snake_case.
setGeneric("cast", function(x, dataType) { standardGeneric("cast") })
                               ^~~~~~~~
R/generics.R:750:32: style: Variable or function name should be snake_case.
setGeneric("conv", function(x, fromBase, toBase) { standardGeneric("conv") })
                               ^~~~~~~~
R/generics.R:750:42: style: Variable or function name should be snake_case.
setGeneric("conv", function(x, fromBase, toBase) { standardGeneric("conv") })
                                         ^~~~~~
R/generics.R:870:40: style: Variable or function name should be snake_case.
setGeneric("lead", function(x, offset, defaultValue = NULL) { standardGeneric("lead") })
                                       ^~~~~~~~~~~~
R/generics.R:995:30: style: Variable or function name should be snake_case.
setGeneric("sd", function(x, na.rm = FALSE) { standardGeneric("sd") })
                             ^~~~~
R/generics.R:1083:37: style: Variable or function name should be snake_case.
setGeneric("translate", function(x, matchingString, replaceString) { standardGeneric("translate") })
                                    ^~~~~~~~~~~~~~
R/generics.R:1083:53: style: Variable or function name should be snake_case.
setGeneric("translate", function(x, matchingString, replaceString) { standardGeneric("translate") })
                                                    ^~~~~~~~~~~~~
R/generics.R:1107:41: style: Variable or function name should be snake_case.
setGeneric("var", function(x, y = NULL, na.rm = FALSE, use) { standardGeneric("var") })
                                        ^~~~~
R/group.R:35:49: style: Variable or function name should be snake_case.
setMethod("initialize", "GroupedData", function(.Object, sgd) {
                                                ^~~~~~~
R/group.R:126:1: style: Lines should not be more than 100 characters.
# These are not exposed on GroupedData: "kurtosis", "skewness", "stddev", "stddev_samp", "stddev_pop",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/group.R:129:1: style: Variable or function name should be snake_case.
createMethod <- function(name) {
^~~~~~~~~~~~
R/group.R:138:1: style: Variable or function name should be snake_case.
createMethods <- function() {
^~~~~~~~~~~~~
R/jobj.R:26:1: style: Variable or function name should be snake_case.
.validJobjs <- new.env(parent = emptyenv())
^~~~~~~~~~~
R/jobj.R:29:1: style: Variable or function name should be snake_case.
.toRemoveJobjs <- new.env(parent = emptyenv())
^~~~~~~~~~~~~~
R/jobj.R:32:1: style: Variable or function name should be snake_case.
isValidJobj <- function(jobj) {
^~~~~~~~~~~
R/jobj.R:40:1: style: Variable or function name should be snake_case.
getJobj <- function(objId) {
^~~~~~~
R/jobj.R:40:21: style: Variable or function name should be snake_case.
getJobj <- function(objId) {
                    ^~~~~
R/jobj.R:41:3: style: Variable or function name should be snake_case.
  newObj <- jobj(objId)
  ^~~~~~
R/jobj.R:51:18: style: Variable or function name should be snake_case.
jobj <- function(objId) {
                 ^~~~~
R/jobj.R:59:7: style: Variable or function name should be snake_case.
  obj$appId <- get(".scStartTime", envir = .sparkREnv)
      ^~~~~
R/jobj.R:80:1: style: Variable or function name should be snake_case.
cleanup.jobj <- function(jobj) {
^~~~~~~~~~~~
R/jobj.R:82:5: style: Variable or function name should be snake_case.
    objId <- jobj$id
    ^~~~~
R/jobj.R:98:1: style: Variable or function name should be snake_case.
clearJobjs <- function() {
^~~~~~~~~~
R/jobj.R:102:3: style: Variable or function name should be snake_case.
  removeList <- ls(.toRemoveJobjs)
  ^~~~~~~~~~
R/mllib.R:80:28: style: Variable or function name should be snake_case.
          function(object, newData) {
                           ^~~~~~~
R/mllib.R:106:13: style: Variable or function name should be snake_case.
            modelName <- callJStatic("org.apache.spark.ml.api.r.SparkRWrappers",
            ^~~~~~~~~
R/mllib.R:113:15: style: Variable or function name should be snake_case.
              devianceResiduals <- callJStatic("org.apache.spark.ml.api.r.SparkRWrappers",
              ^~~~~~~~~~~~~~~~~
R/mllib.R:115:15: style: Variable or function name should be snake_case.
              devianceResiduals <- matrix(devianceResiduals, nrow = 1)
              ^~~~~~~~~~~~~~~~~
R/pairRDD.R:47:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(part) {
            ^~~~~~~~~~~~~
R/pairRDD.R:51:13: style: Variable or function name should be snake_case.
            valsRDD <- lapplyPartition(x, partitionFunc)
            ^~~~~~~
R/pairRDD.R:146:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/pairRDD.R:146:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/pairRDD.R:173:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/pairRDD.R:173:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/pairRDD.R:174:13: style: Variable or function name should be snake_case.
            flatMapFunc <- function(x) {
            ^~~~~~~~~~~
R/pairRDD.R:209:23: style: Variable or function name should be snake_case.
          function(x, numPartitions, partitionFunc = hashCode) {
                      ^~~~~~~~~~~~~
R/pairRDD.R:209:38: style: Variable or function name should be snake_case.
          function(x, numPartitions, partitionFunc = hashCode) {
                                     ^~~~~~~~~~~~~
R/pairRDD.R:210:13: style: Variable or function name should be snake_case.
            partitionFunc <- cleanClosure(partitionFunc)
            ^~~~~~~~~~~~~
R/pairRDD.R:211:13: style: Variable or function name should be snake_case.
            serializedHashFuncBytes <- serialize(partitionFunc, connection = NULL)
            ^~~~~~~~~~~~~~~~~~~~~~~
R/pairRDD.R:213:13: style: Variable or function name should be snake_case.
            packageNamesArr <- serialize(.sparkREnv$.packages,
            ^~~~~~~~~~~~~~~
R/pairRDD.R:215:13: style: Variable or function name should be snake_case.
            broadcastArr <- lapply(ls(.broadcastNames),
            ^~~~~~~~~~~~
R/pairRDD.R:222:13: style: Variable or function name should be snake_case.
            pairwiseRRDD <- newJObject("org.apache.spark.api.r.PairwiseRRDD",
            ^~~~~~~~~~~~
R/pairRDD.R:232:13: style: Variable or function name should be snake_case.
            rPartitioner <- newJObject("org.apache.spark.HashPartitioner",
            ^~~~~~~~~~~~
R/pairRDD.R:236:13: style: Variable or function name should be snake_case.
            javaPairRDD <- callJMethod(pairwiseRRDD, "asJavaPairRDD")
            ^~~~~~~~~~~
R/pairRDD.R:237:13: style: Variable or function name should be snake_case.
            javaPairRDD <- callJMethod(javaPairRDD, "partitionBy", rPartitioner)
            ^~~~~~~~~~~
R/pairRDD.R:270:23: style: Variable or function name should be snake_case.
          function(x, numPartitions) {
                      ^~~~~~~~~~~~~
R/pairRDD.R:272:13: style: Variable or function name should be snake_case.
            groupVals <- function(part) {
            ^~~~~~~~~
R/pairRDD.R:276:15: style: Variable or function name should be snake_case.
              appendList <- function(acc, i) {
              ^~~~~~~~~~
R/pairRDD.R:280:15: style: Variable or function name should be snake_case.
              makeList <- function(i) {
              ^~~~~~~~
R/pairRDD.R:330:23: style: Variable or function name should be snake_case.
          function(x, combineFunc, numPartitions) {
                      ^~~~~~~~~~~
R/pairRDD.R:330:36: style: Variable or function name should be snake_case.
          function(x, combineFunc, numPartitions) {
                                   ^~~~~~~~~~~~~
R/pairRDD.R:331:13: style: Variable or function name should be snake_case.
            reduceVals <- function(part) {
            ^~~~~~~~~~
R/pairRDD.R:342:13: style: Variable or function name should be snake_case.
            locallyReduced <- lapplyPartition(x, reduceVals)
            ^~~~~~~~~~~~~~
R/pairRDD.R:373:23: style: Variable or function name should be snake_case.
          function(x, combineFunc) {
                      ^~~~~~~~~~~
R/pairRDD.R:374:13: style: Variable or function name should be snake_case.
            reducePart <- function(part) {
            ^~~~~~~~~~
R/pairRDD.R:385:13: style: Variable or function name should be snake_case.
            mergeParts <- function(accum, x) {
            ^~~~~~~~~~
R/pairRDD.R:441:23: style: Variable or function name should be snake_case.
          function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                      ^~~~~~~~~~~~~~
R/pairRDD.R:441:39: style: Variable or function name should be snake_case.
          function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                      ^~~~~~~~~~
R/pairRDD.R:441:51: style: Variable or function name should be snake_case.
          function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                                  ^~~~~~~~~~~~~~
R/pairRDD.R:441:67: style: Variable or function name should be snake_case.
          function(x, createCombiner, mergeValue, mergeCombiners, numPartitions) {
                                                                  ^~~~~~~~~~~~~
R/pairRDD.R:442:13: style: Variable or function name should be snake_case.
            combineLocally <- function(part) {
            ^~~~~~~~~~~~~~
R/pairRDD.R:453:13: style: Variable or function name should be snake_case.
            locallyCombined <- lapplyPartition(x, combineLocally)
            ^~~~~~~~~~~~~~~
R/pairRDD.R:455:13: style: Variable or function name should be snake_case.
            mergeAfterShuffle <- function(part) {
            ^~~~~~~~~~~~~~~~~
R/pairRDD.R:505:23: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp, numPartitions) {
                      ^~~~~~~~~
R/pairRDD.R:505:34: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp, numPartitions) {
                                 ^~~~~
R/pairRDD.R:505:41: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp, numPartitions) {
                                        ^~~~~~
R/pairRDD.R:505:49: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp, numPartitions) {
                                                ^~~~~~~~~~~~~
R/pairRDD.R:506:13: style: Variable or function name should be snake_case.
            createCombiner <- function(v) {
            ^~~~~~~~~~~~~~
R/pairRDD.R:539:23: style: Variable or function name should be snake_case.
          function(x, zeroValue, func, numPartitions) {
                      ^~~~~~~~~
R/pairRDD.R:539:40: style: Variable or function name should be snake_case.
          function(x, zeroValue, func, numPartitions) {
                                       ^~~~~~~~~~~~~
R/pairRDD.R:572:26: style: Variable or function name should be snake_case.
          function(x, y, numPartitions) {
                         ^~~~~~~~~~~~~
R/pairRDD.R:573:13: style: Variable or function name should be snake_case.
            xTagged <- lapply(x, function(i) { list(i[[1]], list(1L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:574:13: style: Variable or function name should be snake_case.
            yTagged <- lapply(y, function(i) { list(i[[1]], list(2L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:576:13: style: Variable or function name should be snake_case.
            doJoin <- function(v) {
            ^~~~~~
R/pairRDD.R:613:26: style: Variable or function name should be snake_case.
          function(x, y, numPartitions) {
                         ^~~~~~~~~~~~~
R/pairRDD.R:614:13: style: Variable or function name should be snake_case.
            xTagged <- lapply(x, function(i) { list(i[[1]], list(1L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:615:13: style: Variable or function name should be snake_case.
            yTagged <- lapply(y, function(i) { list(i[[1]], list(2L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:617:13: style: Variable or function name should be snake_case.
            doJoin <- function(v) {
            ^~~~~~
R/pairRDD.R:653:26: style: Variable or function name should be snake_case.
          function(x, y, numPartitions) {
                         ^~~~~~~~~~~~~
R/pairRDD.R:654:13: style: Variable or function name should be snake_case.
            xTagged <- lapply(x, function(i) { list(i[[1]], list(1L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:655:13: style: Variable or function name should be snake_case.
            yTagged <- lapply(y, function(i) { list(i[[1]], list(2L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:657:13: style: Variable or function name should be snake_case.
            doJoin <- function(v) {
            ^~~~~~
R/pairRDD.R:696:26: style: Variable or function name should be snake_case.
          function(x, y, numPartitions) {
                         ^~~~~~~~~~~~~
R/pairRDD.R:697:13: style: Variable or function name should be snake_case.
            xTagged <- lapply(x, function(i) { list(i[[1]], list(1L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:698:13: style: Variable or function name should be snake_case.
            yTagged <- lapply(y, function(i) { list(i[[1]], list(2L, i[[2]])) })
            ^~~~~~~
R/pairRDD.R:700:13: style: Variable or function name should be snake_case.
            doJoin <- function(v) {
            ^~~~~~
R/pairRDD.R:729:25: style: Variable or function name should be snake_case.
          function(..., numPartitions) {
                        ^~~~~~~~~~~~~
R/pairRDD.R:731:13: style: Variable or function name should be snake_case.
            rddsLen <- length(rdds)
            ^~~~~~~
R/pairRDD.R:736:13: style: Variable or function name should be snake_case.
            union.rdd <- Reduce(unionRDD, rdds)
            ^~~~~~~~~
R/pairRDD.R:737:13: style: Variable or function name should be snake_case.
            group.func <- function(vlist) {
            ^~~~~~~~~~
R/pairRDD.R:758:13: style: Variable or function name should be snake_case.
            cogroup.rdd <- mapValues(groupByKey(union.rdd, numPartitions),
            ^~~~~~~~~~~
R/pairRDD.R:781:41: style: Variable or function name should be snake_case.
          function(x, ascending = TRUE, numPartitions = SparkR:::getNumPartitions(x)) {
                                        ^~~~~~~~~~~~~
R/pairRDD.R:782:13: style: Variable or function name should be snake_case.
            rangeBounds <- list()
            ^~~~~~~~~~~
R/pairRDD.R:785:15: style: Variable or function name should be snake_case.
              rddSize <- count(x)
              ^~~~~~~
R/pairRDD.R:787:15: style: Variable or function name should be snake_case.
              maxSampleSize <- numPartitions * 20
              ^~~~~~~~~~~~~
R/pairRDD.R:796:17: style: Variable or function name should be snake_case.
                rangeBounds <- lapply(seq_len(numPartitions - 1),
                ^~~~~~~~~~~
R/pairRDD.R:804:13: style: Variable or function name should be snake_case.
            rangePartitionFunc <- function(key) {
            ^~~~~~~~~~~~~~~~~~
R/pairRDD.R:819:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(part) {
            ^~~~~~~~~~~~~
R/pairRDD.R:823:13: style: Variable or function name should be snake_case.
            newRDD <- partitionBy(x, numPartitions, rangePartitionFunc)
            ^~~~~~
R/pairRDD.R:851:30: style: Variable or function name should be snake_case.
          function(x, other, numPartitions = SparkR:::getNumPartitions(x)) {
                             ^~~~~~~~~~~~~
R/pairRDD.R:852:13: style: Variable or function name should be snake_case.
            filterFunction <- function(elem) {
            ^~~~~~~~~~~~~~
R/pairRDD.R:861:36: style: Remove spaces before the left parenthesis in a function call.
                          function (v) { v[[1]] })
                                   ^
R/pairRDD.R:903:23: style: Variable or function name should be snake_case.
          function(x, withReplacement, fractions, seed) {
                      ^~~~~~~~~~~~~~~
R/pairRDD.R:912:13: style: Variable or function name should be snake_case.
            samplingFunc <- function(partIndex, part) {
            ^~~~~~~~~~~~
R/pairRDD.R:912:38: style: Variable or function name should be snake_case.
            samplingFunc <- function(partIndex, part) {
                                     ^~~~~~~~~
R/pairRDD.R:926:27: style: Do not place spaces around code in parentheses or square brackets.
                      res[ (len + 1) : (len + count) ] <- rep(list(elem), count)
                          ^
R/pairRDD.R:926:53: style: Do not place spaces around code in parentheses or square brackets.
                      res[ (len + 1) : (len + count) ] <- rep(list(elem), count)
                                                    ^
R/RDD.R:41:41: style: Variable or function name should be snake_case.
setMethod("initialize", "RDD", function(.Object, jrdd, serializedMode,
                                        ^~~~~~~
R/RDD.R:41:56: style: Variable or function name should be snake_case.
setMethod("initialize", "RDD", function(.Object, jrdd, serializedMode,
                                                       ^~~~~~~~~~~~~~
R/RDD.R:42:41: style: Variable or function name should be snake_case.
                                        isCached, isCheckpointed) {
                                        ^~~~~~~~
R/RDD.R:42:51: style: Variable or function name should be snake_case.
                                        isCached, isCheckpointed) {
                                                  ^~~~~~~~~~~~~~
R/RDD.R:60:15: style: Variable or function name should be snake_case.
  .Object@env$isCached <- isCached
              ^~~~~~~~
R/RDD.R:61:15: style: Variable or function name should be snake_case.
  .Object@env$isCheckpointed <- isCheckpointed
              ^~~~~~~~~~~~~~
R/RDD.R:62:15: style: Variable or function name should be snake_case.
  .Object@env$serializedMode <- serializedMode
              ^~~~~~~~~~~~~~
R/RDD.R:73:50: style: Variable or function name should be snake_case.
setMethod("initialize", "PipelinedRDD", function(.Object, prev, func, jrdd_val) {
                                                 ^~~~~~~
R/RDD.R:75:15: style: Variable or function name should be snake_case.
  .Object@env$isCached <- FALSE
              ^~~~~~~~
R/RDD.R:76:15: style: Variable or function name should be snake_case.
  .Object@env$isCheckpointed <- FALSE
              ^~~~~~~~~~~~~~
R/RDD.R:80:17: style: Variable or function name should be snake_case.
    .Object@env$serializedMode <- prev@env$serializedMode
                ^~~~~~~~~~~~~~
R/RDD.R:85:3: style: Variable or function name should be snake_case.
  isPipelinable <- function(rdd) {
  ^~~~~~~~~~~~~
R/RDD.R:96:17: style: Variable or function name should be snake_case.
    .Object@env$prev_serializedMode <- prev@env$serializedMode
                ^~~~~~~~~~~~~~~~~~~
R/RDD.R:100:5: style: Variable or function name should be snake_case.
    pipelinedFunc <- function(partIndex, part) {
    ^~~~~~~~~~~~~
R/RDD.R:100:31: style: Variable or function name should be snake_case.
    pipelinedFunc <- function(partIndex, part) {
                              ^~~~~~~~~
R/RDD.R:107:17: style: Variable or function name should be snake_case.
    .Object@env$prev_serializedMode <- prev@env$prev_serializedMode
                ^~~~~~~~~~~~~~~~~~~
R/RDD.R:120:1: style: Variable or function name should be snake_case.
RDD <- function(jrdd, serializedMode = "byte", isCached = FALSE,
^~~
R/RDD.R:120:23: style: Variable or function name should be snake_case.
RDD <- function(jrdd, serializedMode = "byte", isCached = FALSE,
                      ^~~~~~~~~~~~~~
R/RDD.R:120:48: style: Variable or function name should be snake_case.
RDD <- function(jrdd, serializedMode = "byte", isCached = FALSE,
                                               ^~~~~~~~
R/RDD.R:121:17: style: Variable or function name should be snake_case.
                isCheckpointed = FALSE) {
                ^~~~~~~~~~~~~~
R/RDD.R:125:1: style: Variable or function name should be snake_case.
PipelinedRDD <- function(prev, func) {
^~~~~~~~~~~~
R/RDD.R:132:92: style: Do not place spaces around code in parentheses or square brackets.
setMethod("getSerializedMode", signature(rdd = "RDD"), function(rdd) rdd@env$serializedMode )
                                                                                           ^
R/RDD.R:146:68: style: Do not place spaces around code in parentheses or square brackets.
setMethod("getJRDD", signature(rdd = "RDD"), function(rdd) rdd@jrdd )
                                                                   ^
R/RDD.R:148:25: style: Variable or function name should be snake_case.
          function(rdd, serializedMode = "byte") {
                        ^~~~~~~~~~~~~~
R/RDD.R:153:13: style: Variable or function name should be snake_case.
            packageNamesArr <- serialize(.sparkREnv[[".packages"]],
            ^~~~~~~~~~~~~~~
R/RDD.R:156:13: style: Variable or function name should be snake_case.
            broadcastArr <- lapply(ls(.broadcastNames),
            ^~~~~~~~~~~~
R/RDD.R:159:13: style: Variable or function name should be snake_case.
            serializedFuncArr <- serialize(rdd@func, connection = NULL)
            ^~~~~~~~~~~~~~~~~
R/RDD.R:164:15: style: Variable or function name should be snake_case.
              rddRef <- newJObject("org.apache.spark.api.r.StringRRDD",
              ^~~~~~
R/RDD.R:172:15: style: Variable or function name should be snake_case.
              rddRef <- newJObject("org.apache.spark.api.r.RRDD",
              ^~~~~~
R/RDD.R:182:21: style: Variable or function name should be snake_case.
            rdd@env$serializedMode <- serializedMode
                    ^~~~~~~~~~~~~~
R/RDD.R:220:19: style: Variable or function name should be snake_case.
            x@env$isCached <- TRUE
                  ^~~~~~~~
R/RDD.R:243:23: style: Variable or function name should be snake_case.
          function(x, newLevel = "MEMORY_ONLY") {
                      ^~~~~~~~
R/RDD.R:245:19: style: Variable or function name should be snake_case.
            x@env$isCached <- TRUE
                  ^~~~~~~~
R/RDD.R:269:19: style: Variable or function name should be snake_case.
            x@env$isCached <- FALSE
                  ^~~~~~~~
R/RDD.R:297:19: style: Variable or function name should be snake_case.
            x@env$isCheckpointed <- TRUE
                  ^~~~~~~~~~~~~~
R/RDD.R:371:23: style: Variable or function name should be snake_case.
          function(x, partitionId) {
                      ^~~~~~~~~~~
R/RDD.R:372:13: style: Variable or function name should be snake_case.
            jPartitionsList <- callJMethod(getJRDD(x),
            ^~~~~~~~~~~~~~~
R/RDD.R:376:13: style: Variable or function name should be snake_case.
            jList <- jPartitionsList[[1]]
            ^~~~~
R/RDD.R:398:13: style: Variable or function name should be snake_case.
            pairList <- collect(x)
            ^~~~~~~~
R/RDD.R:421:13: style: Variable or function name should be snake_case.
            countPartition <- function(part) {
            ^~~~~~~~~~~~~~
R/RDD.R:424:13: style: Variable or function name should be snake_case.
            valsRDD <- lapplyPartition(x, countPartition)
            ^~~~~~~
R/RDD.R:484:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:484:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:485:30: style: Variable or function name should be snake_case.
            func <- function(partIndex, part) {
                             ^~~~~~~~~
R/RDD.R:496:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:496:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:520:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:520:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:521:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(part) {
            ^~~~~~~~~~~~~
R/RDD.R:549:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:549:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:560:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:560:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:584:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:584:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:593:20: style: Variable or function name should be snake_case.
          function(X, FUN) {
                   ^
R/RDD.R:593:23: style: Variable or function name should be snake_case.
          function(X, FUN) {
                      ^~~
R/RDD.R:617:13: style: Variable or function name should be snake_case.
            filter.func <- function(part) {
            ^~~~~~~~~~~
R/RDD.R:653:13: style: Variable or function name should be snake_case.
            reducePartition <- function(part) {
            ^~~~~~~~~~~~~~~
R/RDD.R:657:13: style: Variable or function name should be snake_case.
            partitionList <- collect(lapplyPartition(x, reducePartition),
            ^~~~~~~~~~~~~
R/RDD.R:733:13: style: Variable or function name should be snake_case.
            partition.func <- function(x) {
            ^~~~~~~~~~~~~~
R/RDD.R:778:13: style: Variable or function name should be snake_case.
            resList <- list()
            ^~~~~~~
R/RDD.R:781:13: style: Variable or function name should be snake_case.
            numPartitions <- getNumPartitions(x)
            ^~~~~~~~~~~~~
R/RDD.R:782:13: style: Variable or function name should be snake_case.
            serializedModeRDD <- getSerializedMode(x)
            ^~~~~~~~~~~~~~~~~
R/RDD.R:793:15: style: Variable or function name should be snake_case.
              partitionArr <- callJMethod(jrdd, "collectPartitions", as.list(as.integer(index)))
              ^~~~~~~~~~~~
R/RDD.R:803:15: style: Variable or function name should be snake_case.
              resList <- append(resList, elems)
              ^~~~~~~
R/RDD.R:847:23: style: Variable or function name should be snake_case.
          function(x, numPartitions = SparkR:::getNumPartitions(x)) {
                      ^~~~~~~~~~~~~
R/RDD.R:848:13: style: Variable or function name should be snake_case.
            identical.mapped <- lapply(x, function(x) { list(x, NULL) })
            ^~~~~~~~~~~~~~~~
R/RDD.R:852:13: style: Variable or function name should be snake_case.
            resRDD <- lapply(reduced, function(x) { x[[1]] })
            ^~~~~~
R/RDD.R:878:23: style: Variable or function name should be snake_case.
          function(x, withReplacement, fraction, seed) {
                      ^~~~~~~~~~~~~~~
R/RDD.R:881:13: style: Variable or function name should be snake_case.
            samplingFunc <- function(partIndex, part) {
            ^~~~~~~~~~~~
R/RDD.R:881:38: style: Variable or function name should be snake_case.
            samplingFunc <- function(partIndex, part) {
                                     ^~~~~~~~~
R/RDD.R:894:25: style: Do not place spaces around code in parentheses or square brackets.
                    res[ (len + 1) : (len + count) ] <- rep(list(elem), count)
                        ^
R/RDD.R:894:51: style: Do not place spaces around code in parentheses or square brackets.
                    res[ (len + 1) : (len + count) ] <- rep(list(elem), count)
                                                  ^
R/RDD.R:938:23: style: Variable or function name should be snake_case.
          function(x, withReplacement, num, seed) {
                      ^~~~~~~~~~~~~~~
R/RDD.R:943:13: style: Variable or function name should be snake_case.
            initialCount <- count(x)
            ^~~~~~~~~~~~
R/RDD.R:944:13: style: Variable or function name should be snake_case.
            maxSelected <- 0
            ^~~~~~~~~~~
R/RDD.R:945:13: style: Variable or function name should be snake_case.
            MAXINT <- .Machine$integer.max
            ^~~~~~
R/RDD.R:951:15: style: Variable or function name should be snake_case.
              maxSelected <- MAXINT - 1
              ^~~~~~~~~~~
R/RDD.R:953:15: style: Variable or function name should be snake_case.
              maxSelected <- initialCount
              ^~~~~~~~~~~
R/RDD.R:1000:13: style: Variable or function name should be snake_case.
            apply.func <- function(x) {
            ^~~~~~~~~~
R/RDD.R:1027:23: style: Variable or function name should be snake_case.
          function(x, numPartitions) {
                      ^~~~~~~~~~~~~
R/RDD.R:1048:24: style: Variable or function name should be snake_case.
           function(x, numPartitions, shuffle = FALSE) {
                       ^~~~~~~~~~~~~
R/RDD.R:1049:14: style: Variable or function name should be snake_case.
             numPartitions <- numToInt(numPartitions)
             ^~~~~~~~~~~~~
R/RDD.R:1051:33: style: Variable or function name should be snake_case.
               func <- function(partIndex, part) {
                                ^~~~~~~~~
R/RDD.R:1114:13: style: Variable or function name should be snake_case.
            stringRdd <- lapply(x, func)
            ^~~~~~~~~
R/RDD.R:1140:47: style: Variable or function name should be snake_case.
          function(x, func, ascending = TRUE, numPartitions = SparkR:::getNumPartitions(x)) {
                                              ^~~~~~~~~~~~~
R/RDD.R:1152:1: style: Variable or function name should be snake_case.
takeOrderedElem <- function(x, num, ascending = TRUE) {
^~~~~~~~~~~~~~~
R/RDD.R:1157:3: style: Variable or function name should be snake_case.
  partitionFunc <- function(part) {
  ^~~~~~~~~~~~~
R/RDD.R:1167:3: style: Variable or function name should be snake_case.
  newRdd <- mapPartitions(x, partitionFunc)
  ^~~~~~
R/RDD.R:1169:3: style: Variable or function name should be snake_case.
  resList <- list()
  ^~~~~~~
R/RDD.R:1172:3: style: Variable or function name should be snake_case.
  numPartitions <- getNumPartitions(newRdd)
  ^~~~~~~~~~~~~
R/RDD.R:1173:3: style: Variable or function name should be snake_case.
  serializedModeRDD <- getSerializedMode(newRdd)
  ^~~~~~~~~~~~~~~~~
R/RDD.R:1180:7: style: Variable or function name should be snake_case.
      resList <- resList[ord[1:num]]
      ^~~~~~~
R/RDD.R:1185:5: style: Variable or function name should be snake_case.
    partitionArr <- callJMethod(jrdd, "collectPartitions", as.list(as.integer(index)))
    ^~~~~~~~~~~~
R/RDD.R:1194:5: style: Variable or function name should be snake_case.
    resList <- append(resList, elems)
    ^~~~~~~
R/RDD.R:1264:23: style: Variable or function name should be snake_case.
          function(x, zeroValue, op) {
                      ^~~~~~~~~
R/RDD.R:1296:23: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp) {
                      ^~~~~~~~~
R/RDD.R:1296:34: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp) {
                                 ^~~~~
R/RDD.R:1296:41: style: Variable or function name should be snake_case.
          function(x, zeroValue, seqOp, combOp) {
                                        ^~~~~~
R/RDD.R:1297:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(part) {
            ^~~~~~~~~~~~~
R/RDD.R:1301:13: style: Variable or function name should be snake_case.
            partitionList <- collect(lapplyPartition(x, partitionFunc),
            ^~~~~~~~~~~~~
R/RDD.R:1406:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(partIndex, part) {
            ^~~~~~~~~~~~~
R/RDD.R:1406:39: style: Variable or function name should be snake_case.
            partitionFunc <- function(partIndex, part) {
                                      ^~~~~~~~~
R/RDD.R:1453:15: style: Variable or function name should be snake_case.
              startIndices <- Reduce("+", nums, accumulate = TRUE)
              ^~~~~~~~~~~~
R/RDD.R:1456:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(partIndex, part) {
            ^~~~~~~~~~~~~
R/RDD.R:1456:39: style: Variable or function name should be snake_case.
            partitionFunc <- function(partIndex, part) {
                                      ^~~~~~~~~
R/RDD.R:1458:17: style: Variable or function name should be snake_case.
                startIndex <- 0
                ^~~~~~~~~~
R/RDD.R:1460:17: style: Variable or function name should be snake_case.
                startIndex <- startIndices[[partIndex]]
                ^~~~~~~~~~
R/RDD.R:1495:13: style: Variable or function name should be snake_case.
            partitionFunc <- function(part) {
            ^~~~~~~~~~~~~
R/RDD.R:1525:15: style: Variable or function name should be snake_case.
              union.rdd <- RDD(jrdd, getSerializedMode(x))
              ^~~~~~~~~
R/RDD.R:1531:15: style: Variable or function name should be snake_case.
              union.rdd <- RDD(jrdd, "byte")
              ^~~~~~~~~
R/RDD.R:1634:30: style: Variable or function name should be snake_case.
          function(x, other, numPartitions = SparkR:::getNumPartitions(x)) {
                             ^~~~~~~~~~~~~
R/RDD.R:1635:13: style: Variable or function name should be snake_case.
            mapFunction <- function(e) { list(e, NA) }
            ^~~~~~~~~~~
R/RDD.R:1668:30: style: Variable or function name should be snake_case.
          function(x, other, numPartitions = SparkR:::getNumPartitions(x)) {
                             ^~~~~~~~~~~~~
R/RDD.R:1672:13: style: Variable or function name should be snake_case.
            filterFunction <- function(elem) {
            ^~~~~~~~~~~~~~
R/RDD.R:1711:13: style: Variable or function name should be snake_case.
            nPart <- sapply(rrdds, getNumPartitions)
            ^~~~~
R/RDD.R:1717:52: style: Variable or function name should be snake_case.
              mapPartitionsWithIndex(rdd, function(partIndex, part) {
                                                   ^~~~~~~~~
R/RDD.R:1722:13: style: Variable or function name should be snake_case.
            union.rdd <- Reduce(unionRDD, rrdds)
            ^~~~~~~~~
R/RDD.R:1723:13: style: Variable or function name should be snake_case.
            zipped.rdd <- values(groupByKey(union.rdd, numPartitions = nPart[1]))
            ^~~~~~~~~~
R/schema.R:38:1: style: Variable or function name should be snake_case.
structType <- function(x, ...) {
^~~~~~~~~~
R/schema.R:42:1: style: Variable or function name should be snake_case.
structType.jobj <- function(x) {
^~~~~~~~~~~~~~~
R/schema.R:49:1: style: Variable or function name should be snake_case.
structType.structField <- function(x, ...) {
^~~~~~~~~~~~~~~~~~~~~~
R/schema.R:54:3: style: Variable or function name should be snake_case.
  sfObjList <- lapply(fields, function(field) {
  ^~~~~~~~~
R/schema.R:57:3: style: Variable or function name should be snake_case.
  stObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
  ^~~~~
R/schema.R:102:1: style: Variable or function name should be snake_case.
structField <- function(x, ...) {
^~~~~~~~~~~
R/schema.R:106:1: style: Variable or function name should be snake_case.
structField.jobj <- function(x) {
^~~~~~~~~~~~~~~~
R/schema.R:110:7: style: Variable or function name should be snake_case.
  obj$dataType <- function() { callJMethod(x, "dataType") }
      ^~~~~~~~
R/schema.R:111:7: style: Variable or function name should be snake_case.
  obj$dataType.toString <- function() { callJMethod(obj$dataType(), "toString") }
      ^~~~~~~~~~~~~~~~~
R/schema.R:112:7: style: Variable or function name should be snake_case.
  obj$dataType.simpleString <- function() { callJMethod(obj$dataType(), "simpleString") }
      ^~~~~~~~~~~~~~~~~~~~~
R/schema.R:117:1: style: Variable or function name should be snake_case.
checkType <- function(type) {
^~~~~~~~~
R/schema.R:122:5: style: Variable or function name should be snake_case.
    firstChar <- substr(type, 1, 1)
    ^~~~~~~~~
R/schema.R:123:12: style: Remove spaces before the left parenthesis in a function call.
    switch (firstChar,
           ^
R/schema.R:127:15: style: Variable or function name should be snake_case.
              matchedStrings <- regmatches(type, m)
              ^~~~~~~~~~~~~~
R/schema.R:129:17: style: Variable or function name should be snake_case.
                elemType <- matchedStrings[[1]][2]
                ^~~~~~~~
R/schema.R:137:15: style: Variable or function name should be snake_case.
              matchedStrings <- regmatches(type, m)
              ^~~~~~~~~~~~~~
R/schema.R:139:17: style: Variable or function name should be snake_case.
                keyType <- matchedStrings[[1]][2]
                ^~~~~~~
R/schema.R:143:17: style: Variable or function name should be snake_case.
                valueType <- matchedStrings[[1]][3]
                ^~~~~~~~~
R/schema.R:151:15: style: Variable or function name should be snake_case.
              matchedStrings <- regmatches(type, m)
              ^~~~~~~~~~~~~~
R/schema.R:153:17: style: Variable or function name should be snake_case.
                fieldsString <- matchedStrings[[1]][2]
                ^~~~~~~~~~~~
R/schema.R:160:21: style: Variable or function name should be snake_case.
                    matchedStrings <- regmatches(field, m)
                    ^~~~~~~~~~~~~~
R/schema.R:162:23: style: Variable or function name should be snake_case.
                      fieldType <- matchedStrings[[1]][3]
                      ^~~~~~~~~
R/schema.R:177:1: style: Variable or function name should be snake_case.
structField.character <- function(x, type, nullable = TRUE) {
^~~~~~~~~~~~~~~~~~~~~
R/schema.R:190:3: style: Variable or function name should be snake_case.
  sfObj <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
  ^~~~~
R/serialize.R:37:1: style: Variable or function name should be snake_case.
getSerdeType <- function(object) {
^~~~~~~~~~~~
R/serialize.R:43:5: style: Variable or function name should be snake_case.
    elemType <- unique(sapply(object, function(elem) { getSerdeType(elem) }))
    ^~~~~~~~
R/serialize.R:52:1: style: Variable or function name should be snake_case.
writeObject <- function(con, object, writeType = TRUE) {
^~~~~~~~~~~
R/serialize.R:52:38: style: Variable or function name should be snake_case.
writeObject <- function(con, object, writeType = TRUE) {
                                     ^~~~~~~~~
R/serialize.R:66:3: style: Variable or function name should be snake_case.
  serdeType <- getSerdeType(object)
  ^~~~~~~~~
R/serialize.R:89:1: style: Variable or function name should be snake_case.
writeVoid <- function(con) {
^~~~~~~~~
R/serialize.R:93:1: style: Variable or function name should be snake_case.
writeJobj <- function(con, value) {
^~~~~~~~~
R/serialize.R:100:1: style: Variable or function name should be snake_case.
writeString <- function(con, value) {
^~~~~~~~~~~
R/serialize.R:101:3: style: Variable or function name should be snake_case.
  utfVal <- enc2utf8(value)
  ^~~~~~
R/serialize.R:106:1: style: Variable or function name should be snake_case.
writeInt <- function(con, value) {
^~~~~~~~
R/serialize.R:110:1: style: Variable or function name should be snake_case.
writeDouble <- function(con, value) {
^~~~~~~~~~~
R/serialize.R:114:1: style: Variable or function name should be snake_case.
writeBoolean <- function(con, value) {
^~~~~~~~~~~~
R/serialize.R:119:1: style: Variable or function name should be snake_case.
writeRawSerialize <- function(outputCon, batch) {
^~~~~~~~~~~~~~~~~
R/serialize.R:119:31: style: Variable or function name should be snake_case.
writeRawSerialize <- function(outputCon, batch) {
                              ^~~~~~~~~
R/serialize.R:120:3: style: Variable or function name should be snake_case.
  outputSer <- serialize(batch, ascii = FALSE, connection = NULL)
  ^~~~~~~~~
R/serialize.R:124:1: style: Variable or function name should be snake_case.
writeRowSerialize <- function(outputCon, rows) {
^~~~~~~~~~~~~~~~~
R/serialize.R:124:31: style: Variable or function name should be snake_case.
writeRowSerialize <- function(outputCon, rows) {
                              ^~~~~~~~~
R/serialize.R:131:1: style: Variable or function name should be snake_case.
serializeRow <- function(row) {
^~~~~~~~~~~~
R/serialize.R:132:3: style: Variable or function name should be snake_case.
  rawObj <- rawConnection(raw(0), "wb")
  ^~~~~~
R/serialize.R:138:1: style: Variable or function name should be snake_case.
writeRaw <- function(con, batch) {
^~~~~~~~
R/serialize.R:143:1: style: Variable or function name should be snake_case.
writeType <- function(con, class) {
^~~~~~~~~
R/serialize.R:165:1: style: Variable or function name should be snake_case.
writeArray <- function(con, arr) {
^~~~~~~~~~
R/serialize.R:169:5: style: Variable or function name should be snake_case.
    elemType <- class("somestring")
    ^~~~~~~~
R/serialize.R:171:5: style: Variable or function name should be snake_case.
    elemType <- getSerdeType(arr[[1]])
    ^~~~~~~~
R/serialize.R:185:1: style: Variable or function name should be snake_case.
writeList <- function(con, list) {
^~~~~~~~~
R/serialize.R:193:1: style: Variable or function name should be snake_case.
writeEnv <- function(con, env) {
^~~~~~~~
R/serialize.R:204:1: style: Variable or function name should be snake_case.
writeDate <- function(con, date) {
^~~~~~~~~
R/serialize.R:208:1: style: Variable or function name should be snake_case.
writeTime <- function(con, time) {
^~~~~~~~~
R/serialize.R:215:1: style: Variable or function name should be snake_case.
writeArgs <- function(con, args) {
^~~~~~~~~
R/sparkR.R:18:1: style: Variable or function name should be snake_case.
.sparkREnv <- new.env()
^~~~~~~~~~
R/sparkR.R:22:1: style: Variable or function name should be snake_case.
connExists <- function(env) {
^~~~~~~~~~
R/sparkR.R:34:1: style: Variable or function name should be snake_case.
sparkR.stop <- function() {
^~~~~~~~~~~
R/sparkR.R:53:7: style: Variable or function name should be snake_case.
      libPath <- get(".libPath", envir = env)
      ^~~~~~~
R/sparkR.R:110:1: style: Variable or function name should be snake_case.
sparkR.init <- function(
^~~~~~~~~~~
R/sparkR.R:112:3: style: Variable or function name should be snake_case.
  appName = "SparkR",
  ^~~~~~~
R/sparkR.R:113:3: style: Variable or function name should be snake_case.
  sparkHome = Sys.getenv("SPARK_HOME"),
  ^~~~~~~~~
R/sparkR.R:114:3: style: Variable or function name should be snake_case.
  sparkEnvir = list(),
  ^~~~~~~~~~
R/sparkR.R:115:3: style: Variable or function name should be snake_case.
  sparkExecutorEnv = list(),
  ^~~~~~~~~~~~~~~~
R/sparkR.R:116:3: style: Variable or function name should be snake_case.
  sparkJars = "",
  ^~~~~~~~~
R/sparkR.R:117:3: style: Variable or function name should be snake_case.
  sparkPackages = "") {
  ^~~~~~~~~~~~~
R/sparkR.R:128:3: style: Variable or function name should be snake_case.
  sparkEnvirMap <- convertNamedListToEnv(sparkEnvir)
  ^~~~~~~~~~~~~
R/sparkR.R:130:3: style: Variable or function name should be snake_case.
  existingPort <- Sys.getenv("EXISTING_SPARKR_BACKEND_PORT", "")
  ^~~~~~~~~~~~
R/sparkR.R:132:5: style: Variable or function name should be snake_case.
    backendPort <- existingPort
    ^~~~~~~~~~~
R/sparkR.R:135:5: style: Variable or function name should be snake_case.
    submitOps <- getClientModeSparkSubmitOpts(
    ^~~~~~~~~
R/sparkR.R:157:5: style: Variable or function name should be snake_case.
    backendPort <- readInt(f)
    ^~~~~~~~~~~
R/sparkR.R:158:5: style: Variable or function name should be snake_case.
    monitorPort <- readInt(f)
    ^~~~~~~~~~~
R/sparkR.R:159:5: style: Variable or function name should be snake_case.
    rLibPath <- readString(f)
    ^~~~~~~~
R/sparkR.R:175:14: style: Variable or function name should be snake_case.
  .sparkREnv$backendPort <- backendPort
             ^~~~~~~~~~~
R/sparkR.R:184:5: style: Variable or function name should be snake_case.
    sparkHome <- suppressWarnings(normalizePath(sparkHome))
    ^~~~~~~~~
R/sparkR.R:187:3: style: Variable or function name should be snake_case.
  sparkExecutorEnvMap <- convertNamedListToEnv(sparkExecutorEnv)
  ^~~~~~~~~~~~~~~~~~~
R/sparkR.R:196:5: style: Variable or function name should be snake_case.
    uriSep <- "//"
    ^~~~~~
R/sparkR.R:198:5: style: Variable or function name should be snake_case.
    uriSep <- "////"
    ^~~~~~
R/sparkR.R:200:3: style: Variable or function name should be snake_case.
  localJarPaths <- lapply(jars,
  ^~~~~~~~~~~~~
R/sparkR.R:242:1: style: Variable or function name should be snake_case.
sparkRSQL.init <- function(jsc = NULL) {
^~~~~~~~~~~~~~
R/sparkR.R:254:3: style: Variable or function name should be snake_case.
  sqlContext <- callJStatic("org.apache.spark.sql.api.r.SQLUtils",
  ^~~~~~~~~~
R/sparkR.R:273:1: style: Variable or function name should be snake_case.
sparkRHive.init <- function(jsc = NULL) {
^~~~~~~~~~~~~~~
R/sparkR.R:286:3: style: Variable or function name should be snake_case.
  hiveCtx <- tryCatch({
  ^~~~~~~
R/sparkR.R:310:1: style: Variable or function name should be snake_case.
setJobGroup <- function(sc, groupId, description, interruptOnCancel) {
^~~~~~~~~~~
R/sparkR.R:310:29: style: Variable or function name should be snake_case.
setJobGroup <- function(sc, groupId, description, interruptOnCancel) {
                            ^~~~~~~
R/sparkR.R:310:51: style: Variable or function name should be snake_case.
setJobGroup <- function(sc, groupId, description, interruptOnCancel) {
                                                  ^~~~~~~~~~~~~~~~~
R/sparkR.R:323:1: style: Variable or function name should be snake_case.
clearJobGroup <- function(sc) {
^~~~~~~~~~~~~
R/sparkR.R:337:1: style: Variable or function name should be snake_case.
cancelJobGroup <- function(sc, groupId) {
^~~~~~~~~~~~~~
R/sparkR.R:337:32: style: Variable or function name should be snake_case.
cancelJobGroup <- function(sc, groupId) {
                               ^~~~~~~
R/sparkR.R:341:1: style: Variable or function name should be snake_case.
sparkConfToSubmitOps <- new.env()
^~~~~~~~~~~~~~~~~~~~
R/sparkR.R:354:1: style: Variable or function name should be snake_case.
getClientModeSparkSubmitOpts <- function(submitOps, sparkEnvirMap) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/sparkR.R:354:42: style: Variable or function name should be snake_case.
getClientModeSparkSubmitOpts <- function(submitOps, sparkEnvirMap) {
                                         ^~~~~~~~~
R/sparkR.R:354:53: style: Variable or function name should be snake_case.
getClientModeSparkSubmitOpts <- function(submitOps, sparkEnvirMap) {
                                                    ^~~~~~~~~~~~~
R/sparkR.R:355:3: style: Variable or function name should be snake_case.
  envirToOps <- lapply(ls(sparkConfToSubmitOps), function(conf) {
  ^~~~~~~~~~
R/sparkR.R:356:5: style: Variable or function name should be snake_case.
    opsValue <- sparkEnvirMap[[conf]]
    ^~~~~~~~
R/sparkR.R:372:1: style: Variable or function name should be snake_case.
processSparkJars <- function(jars) {
^~~~~~~~~~~~~~~~
R/sparkR.R:373:3: style: Variable or function name should be snake_case.
  splittedJars <- splitString(jars)
  ^~~~~~~~~~~~
R/sparkR.R:382:1: style: Variable or function name should be snake_case.
processSparkPackages <- function(packages) {
^~~~~~~~~~~~~~~~~~~~
R/sparkR.R:383:3: style: Variable or function name should be snake_case.
  splittedPackages <- splitString(packages)
  ^~~~~~~~~~~~~~~~
R/SQLContext.R:22:1: style: Variable or function name should be snake_case.
getInternalType <- function(x) {
^~~~~~~~~~~~~~~
R/SQLContext.R:93:1: style: Variable or function name should be snake_case.
createDataFrame <- function(sqlContext, data, schema = NULL, samplingRatio = 1.0) {
^~~~~~~~~~~~~~~
R/SQLContext.R:93:29: style: Variable or function name should be snake_case.
createDataFrame <- function(sqlContext, data, schema = NULL, samplingRatio = 1.0) {
                            ^~~~~~~~~~
R/SQLContext.R:93:62: style: Variable or function name should be snake_case.
createDataFrame <- function(sqlContext, data, schema = NULL, samplingRatio = 1.0) {
                                                             ^~~~~~~~~~~~~
R/SQLContext.R:101:7: style: Variable or function name should be snake_case.
      cleanCols <- function(x) {
      ^~~~~~~~~
R/SQLContext.R:170:26: style: Variable or function name should be snake_case.
as.DataFrame <- function(sqlContext, data, schema = NULL, samplingRatio = 1.0) {
                         ^~~~~~~~~~
R/SQLContext.R:170:59: style: Variable or function name should be snake_case.
as.DataFrame <- function(sqlContext, data, schema = NULL, samplingRatio = 1.0) {
                                                          ^~~~~~~~~~~~~
R/SQLContext.R:193:13: style: Variable or function name should be snake_case.
            sqlContext <- if (exists(".sparkRHivesc", envir = .sparkREnv)) {
            ^~~~~~~~~~
R/SQLContext.R:222:1: style: Variable or function name should be snake_case.
read.json <- function(sqlContext, path) {
^~~~~~~~~
R/SQLContext.R:222:23: style: Variable or function name should be snake_case.
read.json <- function(sqlContext, path) {
                      ^~~~~~~~~~
R/SQLContext.R:233:1: style: Variable or function name should be snake_case.
jsonFile <- function(sqlContext, path) {
^~~~~~~~
R/SQLContext.R:233:22: style: Variable or function name should be snake_case.
jsonFile <- function(sqlContext, path) {
                     ^~~~~~~~~~
R/SQLContext.R:258:1: style: Variable or function name should be snake_case.
jsonRDD <- function(sqlContext, rdd, schema = NULL, samplingRatio = 1.0) {
^~~~~~~
R/SQLContext.R:258:21: style: Variable or function name should be snake_case.
jsonRDD <- function(sqlContext, rdd, schema = NULL, samplingRatio = 1.0) {
                    ^~~~~~~~~~
R/SQLContext.R:258:53: style: Variable or function name should be snake_case.
jsonRDD <- function(sqlContext, rdd, schema = NULL, samplingRatio = 1.0) {
                                                    ^~~~~~~~~~~~~
R/SQLContext.R:278:1: style: Variable or function name should be snake_case.
read.parquet <- function(sqlContext, path) {
^~~~~~~~~~~~
R/SQLContext.R:278:26: style: Variable or function name should be snake_case.
read.parquet <- function(sqlContext, path) {
                         ^~~~~~~~~~
R/SQLContext.R:290:1: style: Variable or function name should be snake_case.
parquetFile <- function(sqlContext, ...) {
^~~~~~~~~~~
R/SQLContext.R:290:25: style: Variable or function name should be snake_case.
parquetFile <- function(sqlContext, ...) {
                        ^~~~~~~~~~
R/SQLContext.R:316:1: style: Variable or function name should be snake_case.
read.text <- function(sqlContext, path) {
^~~~~~~~~
R/SQLContext.R:316:23: style: Variable or function name should be snake_case.
read.text <- function(sqlContext, path) {
                      ^~~~~~~~~~
R/SQLContext.R:342:17: style: Variable or function name should be snake_case.
sql <- function(sqlContext, sqlQuery) {
                ^~~~~~~~~~
R/SQLContext.R:342:29: style: Variable or function name should be snake_case.
sql <- function(sqlContext, sqlQuery) {
                            ^~~~~~~~
R/SQLContext.R:366:19: style: Variable or function name should be snake_case.
table <- function(sqlContext, tableName) {
                  ^~~~~~~~~~
R/SQLContext.R:366:31: style: Variable or function name should be snake_case.
table <- function(sqlContext, tableName) {
                              ^~~~~~~~~
R/SQLContext.R:387:20: style: Variable or function name should be snake_case.
tables <- function(sqlContext, databaseName = NULL) {
                   ^~~~~~~~~~
R/SQLContext.R:387:32: style: Variable or function name should be snake_case.
tables <- function(sqlContext, databaseName = NULL) {
                               ^~~~~~~~~~~~
R/SQLContext.R:412:24: style: Variable or function name should be snake_case.
tableNames <- function(sqlContext, databaseName = NULL) {
                       ^~~~~~~~~~
R/SQLContext.R:412:36: style: Variable or function name should be snake_case.
tableNames <- function(sqlContext, databaseName = NULL) {
                                   ^~~~~~~~~~~~
R/SQLContext.R:439:1: style: Variable or function name should be snake_case.
cacheTable <- function(sqlContext, tableName) {
^~~~~~~~~~
R/SQLContext.R:439:24: style: Variable or function name should be snake_case.
cacheTable <- function(sqlContext, tableName) {
                       ^~~~~~~~~~
R/SQLContext.R:439:36: style: Variable or function name should be snake_case.
cacheTable <- function(sqlContext, tableName) {
                                   ^~~~~~~~~
R/SQLContext.R:461:1: style: Variable or function name should be snake_case.
uncacheTable <- function(sqlContext, tableName) {
^~~~~~~~~~~~
R/SQLContext.R:461:26: style: Variable or function name should be snake_case.
uncacheTable <- function(sqlContext, tableName) {
                         ^~~~~~~~~~
R/SQLContext.R:461:38: style: Variable or function name should be snake_case.
uncacheTable <- function(sqlContext, tableName) {
                                     ^~~~~~~~~
R/SQLContext.R:475:1: style: Variable or function name should be snake_case.
clearCache <- function(sqlContext) {
^~~~~~~~~~
R/SQLContext.R:475:24: style: Variable or function name should be snake_case.
clearCache <- function(sqlContext) {
                       ^~~~~~~~~~
R/SQLContext.R:495:1: style: Variable or function name should be snake_case.
dropTempTable <- function(sqlContext, tableName) {
^~~~~~~~~~~~~
R/SQLContext.R:495:27: style: Variable or function name should be snake_case.
dropTempTable <- function(sqlContext, tableName) {
                          ^~~~~~~~~~
R/SQLContext.R:495:39: style: Variable or function name should be snake_case.
dropTempTable <- function(sqlContext, tableName) {
                                      ^~~~~~~~~
R/SQLContext.R:529:1: style: Variable or function name should be snake_case.
read.df <- function(sqlContext, path = NULL, source = NULL, schema = NULL, ...) {
^~~~~~~
R/SQLContext.R:529:21: style: Variable or function name should be snake_case.
read.df <- function(sqlContext, path = NULL, source = NULL, schema = NULL, ...) {
                    ^~~~~~~~~~
R/SQLContext.R:535:5: style: Variable or function name should be snake_case.
    sqlContext <- get(".sparkRSQLsc", envir = .sparkREnv)
    ^~~~~~~~~~
R/SQLContext.R:551:1: style: Variable or function name should be snake_case.
loadDF <- function(sqlContext, path = NULL, source = NULL, schema = NULL, ...) {
^~~~~~
R/SQLContext.R:551:20: style: Variable or function name should be snake_case.
loadDF <- function(sqlContext, path = NULL, source = NULL, schema = NULL, ...) {
                   ^~~~~~~~~~
R/SQLContext.R:577:1: style: Variable or function name should be snake_case.
createExternalTable <- function(sqlContext, tableName, path = NULL, source = NULL, ...) {
^~~~~~~~~~~~~~~~~~~
R/SQLContext.R:577:33: style: Variable or function name should be snake_case.
createExternalTable <- function(sqlContext, tableName, path = NULL, source = NULL, ...) {
                                ^~~~~~~~~~
R/SQLContext.R:577:45: style: Variable or function name should be snake_case.
createExternalTable <- function(sqlContext, tableName, path = NULL, source = NULL, ...) {
                                            ^~~~~~~~~
R/stats.R:46:13: style: Variable or function name should be snake_case.
            statFunctions <- callJMethod(x@sdf, "stat")
            ^~~~~~~~~~~~~
R/stats.R:71:13: style: Variable or function name should be snake_case.
            statFunctions <- callJMethod(x@sdf, "stat")
            ^~~~~~~~~~~~~
R/stats.R:101:13: style: Variable or function name should be snake_case.
            statFunctions <- callJMethod(x@sdf, "stat")
            ^~~~~~~~~~~~~
R/stats.R:127:13: style: Variable or function name should be snake_case.
            statFunctions <- callJMethod(x@sdf, "stat")
            ^~~~~~~~~~~~~
R/stats.R:155:13: style: Variable or function name should be snake_case.
            fractionsEnv <- convertNamedListToEnv(fractions)
            ^~~~~~~~~~~~
R/stats.R:157:13: style: Variable or function name should be snake_case.
            statFunctions <- callJMethod(x@sdf, "stat")
            ^~~~~~~~~~~~~
R/types.R:21:1: style: Variable or function name should be snake_case.
PRIMITIVE_TYPES <- as.environment(list(
^~~~~~~~~~~~~~~
R/types.R:42:1: style: Variable or function name should be snake_case.
COMPLEX_TYPES <- list(
^~~~~~~~~~~~~
R/types.R:48:1: style: Variable or function name should be snake_case.
DATA_TYPES <- as.environment(c(as.list(PRIMITIVE_TYPES), COMPLEX_TYPES))
^~~~~~~~~~
R/types.R:50:1: style: Variable or function name should be snake_case.
SHORT_TYPES <- as.environment(list(
^~~~~~~~~~~
R/types.R:64:1: style: Variable or function name should be snake_case.
rToSQLTypes <- as.environment(list(
^~~~~~~~~~~
R/utils.R:23:1: style: Variable or function name should be snake_case.
convertJListToRList <- function(jList, flatten, logicalUpperBound = NULL,
^~~~~~~~~~~~~~~~~~~
R/utils.R:23:33: style: Variable or function name should be snake_case.
convertJListToRList <- function(jList, flatten, logicalUpperBound = NULL,
                                ^~~~~
R/utils.R:23:49: style: Variable or function name should be snake_case.
convertJListToRList <- function(jList, flatten, logicalUpperBound = NULL,
                                                ^~~~~~~~~~~~~~~~~
R/utils.R:24:3: style: Variable or function name should be snake_case.
  serializedMode = "byte") {
  ^~~~~~~~~~~~~~
R/utils.R:25:3: style: Variable or function name should be snake_case.
  arrSize <- callJMethod(jList, "size")
  ^~~~~~~
R/utils.R:31:5: style: Variable or function name should be snake_case.
    arrSize <- min(arrSize, logicalUpperBound)
    ^~~~~~~
R/utils.R:44:17: style: Variable or function name should be snake_case.
                keyBytes <- callJMethod(obj, "_1")
                ^~~~~~~~
R/utils.R:45:17: style: Variable or function name should be snake_case.
                valBytes <- callJMethod(obj, "_2")
                ^~~~~~~~
R/utils.R:96:1: style: Variable or function name should be snake_case.
isRDD <- function(name, env) {
^~~~~
R/utils.R:116:1: style: Variable or function name should be snake_case.
hashCode <- function(key) {
^~~~~~~~
R/utils.R:121:5: style: Variable or function name should be snake_case.
    rawVec <- writeBin(key[[1]], con = raw())
    ^~~~~~
R/utils.R:122:5: style: Variable or function name should be snake_case.
    intBits <- packBits(rawToBits(rawVec), "integer")
    ^~~~~~~
R/utils.R:133:9: style: Variable or function name should be snake_case.
        asciiVals <- sapply(charToRaw(key), function(x) { strtoi(x, 16L) })
        ^~~~~~~~~
R/utils.R:134:9: style: Variable or function name should be snake_case.
        hashC <- 0
        ^~~~~
R/utils.R:136:11: style: Variable or function name should be snake_case.
          hashC <- mult31AndAdd(hashC, asciiVals[k])
          ^~~~~
R/utils.R:149:1: style: Variable or function name should be snake_case.
wrapInt <- function(value) {
^~~~~~~
R/utils.R:160:1: style: Variable or function name should be snake_case.
mult31AndAdd <- function(val, addVal) {
^~~~~~~~~~~~
R/utils.R:160:31: style: Variable or function name should be snake_case.
mult31AndAdd <- function(val, addVal) {
                              ^~~~~~
R/utils.R:170:1: style: Variable or function name should be snake_case.
serializeToBytes <- function(rdd) {
^~~~~~~~~~~~~~~~
R/utils.R:175:5: style: Variable or function name should be snake_case.
    ser.rdd <- lapply(rdd, function(x) { x })
    ^~~~~~~
R/utils.R:184:1: style: Variable or function name should be snake_case.
serializeToString <- function(rdd) {
^~~~~~~~~~~~~~~~~
R/utils.R:189:5: style: Variable or function name should be snake_case.
    ser.rdd <- lapply(rdd, function(x) { toString(x) })
    ^~~~~~~
R/utils.R:204:1: style: Variable or function name should be snake_case.
addItemToAccumulator <- function(acc, item) {
^~~~~~~~~~~~~~~~~~~~
R/utils.R:213:1: style: Variable or function name should be snake_case.
initAccumulator <- function() {
^~~~~~~~~~~~~~~
R/utils.R:223:1: style: Variable or function name should be snake_case.
sortKeyValueList <- function(kv_list, decreasing = FALSE) {
^~~~~~~~~~~~~~~~
R/utils.R:234:1: style: Variable or function name should be snake_case.
genCompactLists <- function(tagged_list, cnull) {
^~~~~~~~~~~~~~~
R/utils.R:262:1: style: Variable or function name should be snake_case.
mergeCompactLists <- function(left, right) {
^~~~~~~~~~~~~~~~~
R/utils.R:281:1: style: Variable or function name should be snake_case.
joinTaggedList <- function(tagged_list, cnull) {
^~~~~~~~~~~~~~
R/utils.R:294:1: style: Variable or function name should be snake_case.
updateOrCreatePair <- function(pair, keys, vals, updateOrCreatePred, updateFn, createFn) {
^~~~~~~~~~~~~~~~~~
R/utils.R:294:50: style: Variable or function name should be snake_case.
updateOrCreatePair <- function(pair, keys, vals, updateOrCreatePred, updateFn, createFn) {
                                                 ^~~~~~~~~~~~~~~~~~
R/utils.R:294:70: style: Variable or function name should be snake_case.
updateOrCreatePair <- function(pair, keys, vals, updateOrCreatePred, updateFn, createFn) {
                                                                     ^~~~~~~~
R/utils.R:294:80: style: Variable or function name should be snake_case.
updateOrCreatePair <- function(pair, keys, vals, updateOrCreatePred, updateFn, createFn) {
                                                                               ^~~~~~~~
R/utils.R:296:3: style: Variable or function name should be snake_case.
  hashVal <- pair$hash
  ^~~~~~~
R/utils.R:308:1: style: Variable or function name should be snake_case.
convertEnvsToList <- function(keys, vals) {
^~~~~~~~~~~~~~~~~
R/utils.R:316:1: style: Variable or function name should be snake_case.
varargsToEnv <- function(...) {
^~~~~~~~~~~~
R/utils.R:326:1: style: Variable or function name should be snake_case.
getStorageLevel <- function(newLevel = c("DISK_ONLY",
^~~~~~~~~~~~~~~
R/utils.R:326:29: style: Variable or function name should be snake_case.
getStorageLevel <- function(newLevel = c("DISK_ONLY",
                            ^~~~~~~~
R/utils.R:338:3: style: Variable or function name should be snake_case.
  storageLevelClass <- "org.apache.spark.storage.StorageLevel"
  ^~~~~~~~~~~~~~~~~
R/utils.R:339:3: style: Variable or function name should be snake_case.
  storageLevel <- switch(newLevel,
  ^~~~~~~~~~~~
R/utils.R:357:1: style: Variable or function name should be snake_case.
numToInt <- function(num) {
^~~~~~~~
R/utils.R:375:1: style: Variable or function name should be snake_case.
processClosure <- function(node, oldEnv, defVars, checkedFuncs, newEnv) {
^~~~~~~~~~~~~~
R/utils.R:375:34: style: Variable or function name should be snake_case.
processClosure <- function(node, oldEnv, defVars, checkedFuncs, newEnv) {
                                 ^~~~~~
R/utils.R:375:42: style: Variable or function name should be snake_case.
processClosure <- function(node, oldEnv, defVars, checkedFuncs, newEnv) {
                                         ^~~~~~~
R/utils.R:375:51: style: Variable or function name should be snake_case.
processClosure <- function(node, oldEnv, defVars, checkedFuncs, newEnv) {
                                                  ^~~~~~~~~~~~
R/utils.R:375:65: style: Variable or function name should be snake_case.
processClosure <- function(node, oldEnv, defVars, checkedFuncs, newEnv) {
                                                                ^~~~~~
R/utils.R:376:3: style: Variable or function name should be snake_case.
  nodeLen <- length(node)
  ^~~~~~~
R/utils.R:386:7: style: Variable or function name should be snake_case.
      nodeChar <- as.character(node[[1]])
      ^~~~~~~~
R/utils.R:395:9: style: Variable or function name should be snake_case.
        defVar <- node[[2]]
        ^~~~~~
R/utils.R:408:9: style: Variable or function name should be snake_case.
        newArgs <- names(node[[2]])
        ^~~~~~~
R/utils.R:427:5: style: Variable or function name should be snake_case.
    nodeChar <- as.character(node)
    ^~~~~~~~
R/utils.R:430:7: style: Variable or function name should be snake_case.
      func.env <- oldEnv
      ^~~~~~~~
R/utils.R:431:7: style: Variable or function name should be snake_case.
      topEnv <- parent.env(.GlobalEnv)
      ^~~~~~
R/utils.R:450:15: style: Variable or function name should be snake_case.
              funcList <- mget(nodeChar, envir = checkedFuncs, inherits = F,
              ^~~~~~~~
R/utils.R:475:9: style: Variable or function name should be snake_case.
        func.env <- parent.env(func.env)
        ^~~~~~~~
R/utils.R:490:1: style: Variable or function name should be snake_case.
cleanClosure <- function(func, checkedFuncs = new.env()) {
^~~~~~~~~~~~
R/utils.R:490:32: style: Variable or function name should be snake_case.
cleanClosure <- function(func, checkedFuncs = new.env()) {
                               ^~~~~~~~~~~~
R/utils.R:492:5: style: Variable or function name should be snake_case.
    newEnv <- new.env(parent = .GlobalEnv)
    ^~~~~~
R/utils.R:493:5: style: Variable or function name should be snake_case.
    func.body <- body(func)
    ^~~~~~~~~
R/utils.R:494:5: style: Variable or function name should be snake_case.
    oldEnv <- environment(func)
    ^~~~~~
R/utils.R:497:5: style: Variable or function name should be snake_case.
    defVars <- initAccumulator()
    ^~~~~~~
R/utils.R:516:1: style: Variable or function name should be snake_case.
appendPartitionLengths <- function(x, other) {
^~~~~~~~~~~~~~~~~~~~~~
R/utils.R:526:5: style: Variable or function name should be snake_case.
    appendLength <- function(part) {
    ^~~~~~~~~~~~
R/utils.R:534:8: style: Remove spaces before the left parenthesis in a function call.
  list (x, other)
       ^
R/utils.R:543:1: style: Variable or function name should be snake_case.
mergePartitions <- function(rdd, zip) {
^~~~~~~~~~~~~~~
R/utils.R:544:3: style: Variable or function name should be snake_case.
  serializerMode <- getSerializedMode(rdd)
  ^~~~~~~~~~~~~~
R/utils.R:545:3: style: Variable or function name should be snake_case.
  partitionFunc <- function(partIndex, part) {
  ^~~~~~~~~~~~~
R/utils.R:545:29: style: Variable or function name should be snake_case.
  partitionFunc <- function(partIndex, part) {
                            ^~~~~~~~~
R/utils.R:549:9: style: Variable or function name should be snake_case.
        lengthOfValues <- part[[len]]
        ^~~~~~~~~~~~~~
R/utils.R:550:9: style: Variable or function name should be snake_case.
        lengthOfKeys <- part[[len - lengthOfValues]]
        ^~~~~~~~~~~~
R/utils.R:566:26: style: Do not place spaces around code in parentheses or square brackets.
          values <- part[ (lengthOfKeys + 1) : (len - 1) ]
                         ^
R/utils.R:566:57: style: Do not place spaces around code in parentheses or square brackets.
          values <- part[ (lengthOfKeys + 1) : (len - 1) ]
                                                        ^
R/utils.R:594:1: style: Variable or function name should be snake_case.
listToStruct <- function(list) {
^~~~~~~~~~~~
R/utils.R:602:1: style: Variable or function name should be snake_case.
structToList <- function(struct) {
^~~~~~~~~~~~
R/utils.R:610:1: style: Variable or function name should be snake_case.
convertNamedListToEnv <- function(namedList) {
^~~~~~~~~~~~~~~~~~~~~
R/utils.R:610:35: style: Variable or function name should be snake_case.
convertNamedListToEnv <- function(namedList) {
                                  ^~~~~~~~~
R/utils.R:628:1: style: Variable or function name should be snake_case.
assignNewEnv <- function(data) {
^~~~~~~~~~~~
lintr checks failed.
[error] running /home/jenkins/workspace/spark-branch-1.6-test-sbt-hadoop-1.0/dev/lint-r ; received return code 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE