inst/tests/test_sparkSQL.R:115:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
}, error = function(err) {
^
inst/tests/test_sparkSQL.R:130:1: style: lines should not be more than 100 characters.
localDF <- data.frame(name=c("John", "Smith", "Sarah"), age=c(19, 23, 18), height=c(164.10, 181.4, 173.7))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
inst/tests/test_sparkSQL.R:605:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
}, error = function(err) {
^
R/deserialize.R:105:3: warning: local variable ‘data’ assigned but may not be used
data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
^~~~
R/deserialize.R:109:3: warning: local variable ‘data’ assigned but may not be used
data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
^~~~
R/generics.R:254:35: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
standardGeneric("intersection") })
^
R/generics.R:553:40: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
standardGeneric("withColumnRenamed") })
^
R/pairRDD.R:206:63: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
get(name, .broadcastNames) })
^
R/RDD.R:1265:15: style: Words within variable and function names should be separated by '_' rather than '.'.
trim.trailing.func <- function(x) {
^~~~~~~~~~~~~~~~~~
R/RDD.R:1268:44: style: Words within variable and function names should be separated by '_' rather than '.'.
input <- unlist(lapply(part, trim.trailing.func))
^~~~~~~~~~~~~~~~~~
R/RDD.R:1270:27: style: Words within variable and function names should be separated by '_' rather than '.'.
lapply(res, trim.trailing.func)
^~~~~~~~~~~~~~~~~~
R/sparkR.R:25:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
}, error = function(err) {
^
R/sparkR.R:107:3: warning: local variable ‘sparkMem’ assigned but may not be used
sparkMem <- Sys.getenv("SPARK_MEM", "1024m")
^~~~~~~~
R/sparkR.R:113:5: warning: local variable ‘collapseChar’ assigned but may not be used
collapseChar <- ":"
^~~~~~~~~~~~
R/sparkR.R:159:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
}, error = function(err) {
^
R/sparkR.R:270:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
}, error = function(err) {
^
Created
July 22, 2015 06:32
-
-
Save yu-iskw/8bb1a937ac08d0389182 to your computer and use it in GitHub Desktop.
The result of lint-r at the revision:c03299a18b4e076cabb4b7833a1e7632c5c0dabe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment