Hi All, I recently tried to run ./dev/run-tests on a freshly clones spark repository and I get lint-r check failed error. I have run these tests multiple times before and never had this issue. I have copied part of the issue here. Please note that I haven’t modified any of these files. Am I missing some setup for lint-r?
/sparkR.R:156:25: style: Put spaces around all infix operators. f <- file(path, open="rb") ~^~ R/sparkR.R:188:5: style: Place a space before left parenthesis, except in a function call. if(is.null(sparkExecutorEnvMap$LD_LIBRARY_PATH)) { ^ R/sparkR.R:190:34: style: Commas should always have a space after. paste0("$LD_LIBRARY_PATH:",Sys.getenv("LD_LIBRARY_PATH")) ^ R/utils.R:161:32: style: Commas should always have a space after. vec <- c(bitwShiftL(val, c(4,3,2,1,0)), addVal) ^ R/utils.R:161:34: style: Commas should always have a space after. vec <- c(bitwShiftL(val, c(4,3,2,1,0)), addVal) ^ R/utils.R:161:36: style: Commas should always have a space after. vec <- c(bitwShiftL(val, c(4,3,2,1,0)), addVal) ^ R/utils.R:161:38: style: Commas should always have a space after. vec <- c(bitwShiftL(val, c(4,3,2,1,0)), addVal) ^ R/utils.R:205:5: style: Place a space before left parenthesis, except in a function call. if(acc$counter == acc$size) { ^ lintr checks failed. [error] running /Users/gayathri/spark/dev/lint-r ; received return code 1 Thanks Gayathri --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org