Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.27 KB | None | 0 0
  1. inst/tests/test_binary_function.R:43:6: style: Put spaces around all infix operators.
  2. rdd<- map(text.rdd, function(x) {x})
  3. ~^
  4. inst/tests/test_rdd.R:253:59: style: Place a space before left parenthesis, except in a function call.
  5. actual <- collect(flatMapValues(intRdd, function(x) { x:(x + 1) }))
  6. ^
  7. inst/tests/test_rdd.R:296:26: style: Put spaces around all infix operators.
  8. func <- function(x) { x*x }
  9. ~^~
  10. inst/tests/test_rdd.R:314:21: style: Put spaces around all infix operators.
  11. expect_true(count >=0 && count <= 4)
  12. ^~~
  13. inst/tests/test_sparkSQL.R:24:3: warning: no visible global function definition for ‘expect_equal’
  14. expect_equal(class(actual), "structField")
  15. ^~~~~~~~~~~~
  16. inst/tests/test_sparkSQL.R:25:3: warning: no visible global function definition for ‘expect_equal’
  17. expect_equal(actual$name(), expectedName)
  18. ^~~~~~~~~~~~
  19. inst/tests/test_sparkSQL.R:26:3: warning: no visible global function definition for ‘expect_equal’
  20. expect_equal(actual$dataType.toString(), expectedType)
  21. ^~~~~~~~~~~~
  22. inst/tests/test_sparkSQL.R:27:3: warning: no visible global function definition for ‘expect_equal’
  23. expect_equal(actual$nullable(), expectedNullable)
  24. ^~~~~~~~~~~~
  25. inst/tests/test_sparkSQL.R:60:28: style: Only use double-quotes.
  26. list(type = 'array', elementType = "integer", containsNull = TRUE))
  27. ^~~~~~~
  28. inst/tests/test_sparkSQL.R:62:28: style: Only use double-quotes.
  29. list(type = 'array', elementType = "integer", containsNull = TRUE))
  30. ^~~~~~~
  31. 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.
  32. }, error = function(err) {
  33. ^
  34. inst/tests/test_sparkSQL.R:130:1: style: lines should not be more than 100 characters.
  35. localDF <- data.frame(name=c("John", "Smith", "Sarah"), age=c(19, 23, 18), height=c(164.10, 181.4, 173.7))
  36. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  37. 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.
  38. }, error = function(err) {
  39. ^
  40. inst/tests/test_sparkSQL.R:667:80: style: Put spaces around all infix operators.
  41. expect_equal(collect(select(df, hypot(df$a, df$b)))[1, "HYPOT(a, b)"], sqrt(1^2 + 5^2))
  42. ~^~
  43. inst/tests/test_sparkSQL.R:667:86: style: Put spaces around all infix operators.
  44. expect_equal(collect(select(df, hypot(df$a, df$b)))[1, "HYPOT(a, b)"], sqrt(1^2 + 5^2))
  45. ~^~
  46. inst/tests/test_sparkSQL.R:668:80: style: Put spaces around all infix operators.
  47. expect_equal(collect(select(df, hypot(df$a, df$b)))[2, "HYPOT(a, b)"], sqrt(2^2 + 6^2))
  48. ~^~
  49. inst/tests/test_sparkSQL.R:668:86: style: Put spaces around all infix operators.
  50. expect_equal(collect(select(df, hypot(df$a, df$b)))[2, "HYPOT(a, b)"], sqrt(2^2 + 6^2))
  51. ~^~
  52. inst/tests/test_sparkSQL.R:669:80: style: Put spaces around all infix operators.
  53. expect_equal(collect(select(df, hypot(df$a, df$b)))[3, "HYPOT(a, b)"], sqrt(3^2 + 7^2))
  54. ~^~
  55. inst/tests/test_sparkSQL.R:669:86: style: Put spaces around all infix operators.
  56. expect_equal(collect(select(df, hypot(df$a, df$b)))[3, "HYPOT(a, b)"], sqrt(3^2 + 7^2))
  57. ~^~
  58. inst/tests/test_sparkSQL.R:670:80: style: Put spaces around all infix operators.
  59. expect_equal(collect(select(df, hypot(df$a, df$b)))[4, "HYPOT(a, b)"], sqrt(4^2 + 8^2))
  60. ~^~
  61. inst/tests/test_sparkSQL.R:670:86: style: Put spaces around all infix operators.
  62. expect_equal(collect(select(df, hypot(df$a, df$b)))[4, "HYPOT(a, b)"], sqrt(4^2 + 8^2))
  63. ~^~
  64. inst/tests/test_sparkSQL.R:877:43: style: Put spaces around all infix operators.
  65. expect_equal(count(parquetDF), count(df)*2)
  66. ~^~
  67. R/backend.R:24:10: warning: no visible global function definition for ‘callJStatic’
  68. cls <- callJStatic("java.lang.Class", "forName", className)
  69. ^~~~~~~~~~~
  70. R/backend.R:25:3: warning: no visible global function definition for ‘callJMethod’
  71. callJMethod(cls, "isInstance", jobj)
  72. ^~~~~~~~~~~
  73. R/backend.R:37:3: warning: no visible global function definition for ‘invokeJava’
  74. invokeJava(isStatic = FALSE, objId$id, methodName, ...)
  75. ^~~~~~~~~~
  76. R/backend.R:42:3: warning: no visible global function definition for ‘invokeJava’
  77. invokeJava(isStatic = TRUE, className, methodName, ...)
  78. ^~~~~~~~~~
  79. R/backend.R:47:3: warning: no visible global function definition for ‘invokeJava’
  80. invokeJava(isStatic = TRUE, className, methodName = "<init>", ...)
  81. ^~~~~~~~~~
  82. R/backend.R:53:3: warning: no visible global function definition for ‘invokeJava’
  83. invokeJava(isStatic = TRUE, "SparkRHandler", "rm", objId)
  84. ^~~~~~~~~~
  85. R/backend.R:76:24: warning: no visible binding for global variable ‘.toRemoveJobjs’
  86. objsToRemove <- ls(.toRemoveJobjs)
  87. ^~~~~~~~~~~~~~
  88. R/backend.R:80:15: warning: no visible global function definition for ‘removeJObject’
  89. removeJObject(e)
  90. ^~~~~~~~~~~~~
  91. R/backend.R:82:39: warning: no visible binding for global variable ‘.toRemoveJobjs’
  92. rm(list = objsToRemove, envir = .toRemoveJobjs)
  93. ^~~~~~~~~~~~~~
  94. R/backend.R:89:3: warning: no visible global function definition for ‘writeBoolean’
  95. writeBoolean(rc, isStatic)
  96. ^~~~~~~~~~~~
  97. R/backend.R:90:3: warning: no visible global function definition for ‘writeString’
  98. writeString(rc, objId)
  99. ^~~~~~~~~~~
  100. R/backend.R:91:3: warning: no visible global function definition for ‘writeString’
  101. writeString(rc, methodName)
  102. ^~~~~~~~~~~
  103. R/backend.R:94:3: warning: no visible global function definition for ‘writeInt’
  104. writeInt(rc, length(args))
  105. ^~~~~~~~
  106. R/backend.R:95:3: warning: no visible global function definition for ‘writeArgs’
  107. writeArgs(rc, args)
  108. ^~~~~~~~~
  109. R/backend.R:103:3: warning: no visible global function definition for ‘writeInt’
  110. writeInt(rc, length(bytesToSend))
  111. ^~~~~~~~
  112. R/backend.R:108:29: warning: no visible binding for global variable ‘.sparkREnv’
  113. conn <- get(".sparkRCon", .sparkREnv)
  114. ^~~~~~~~~~
  115. R/backend.R:112:19: warning: no visible global function definition for ‘readInt’
  116. returnStatus <- readInt(conn)
  117. ^~~~~~~
  118. R/backend.R:114:3: warning: no visible global function definition for ‘readObject’
  119. readObject(conn)
  120. ^~~~~~~~~~
  121. R/broadcast.R:45:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  122. new("Broadcast", id = id)
  123. ^~~
  124. R/broadcast.R:84:16: warning: no visible binding for global variable ‘.broadcastNames’
  125. bcasts <- ls(.broadcastNames)
  126. ^~~~~~~~~~~~~~~
  127. R/broadcast.R:85:29: warning: no visible binding for global variable ‘.broadcastNames’
  128. rm(list = bcasts, envir = .broadcastNames)
  129. ^~~~~~~~~~~~~~~
  130. R/client.R:26:40: warning: no visible binding for global variable ‘.sparkREnv’
  131. return(get(".sparkRcon", envir = .sparkREnv))
  132. ^~~~~~~~~~
  133. R/client.R:33:37: warning: no visible binding for global variable ‘.sparkREnv’
  134. assign(".sparkRCon", con, envir = .sparkREnv)
  135. ^~~~~~~~~~
  136. R/client.R:60:25: warning: no visible global function definition for ‘determineSparkSubmitBin’
  137. sparkSubmitBinName <- determineSparkSubmitBin()
  138. ^~~~~~~~~~~~~~~~~~~~~~~
  139. R/client.R:66:19: warning: no visible global function definition for ‘generateSparkSubmitArgs’
  140. combinedArgs <- generateSparkSubmitArgs(args, sparkHome, jars, sparkSubmitOpts, packages)
  141. ^~~~~~~~~~~~~~~~~~~~~~~
  142. R/column.R:41:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  143. new("Column", jc)
  144. ^~~
  145. R/column.R:45:3: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  146. column(callJStatic("org.apache.spark.sql.functions", "col", x))
  147. ^~~~~~
  148. R/column.R:45:10: warning: no visible global function definition for ‘callJStatic’
  149. column(callJStatic("org.apache.spark.sql.functions", "col", x))
  150. ^~~~~~~~~~~
  151. R/column.R:68:21: style: Put spaces around all infix operators.
  152. binary_mathfunctions<- c("atan2", "hypot")
  153. ~^
  154. R/column.R:76:19: warning: no visible global function definition for ‘callJMethod’
  155. callJMethod(e1@jc, "unary_$minus")
  156. ^~~~~~~~~~~
  157. R/column.R:78:19: warning: no visible global function definition for ‘callJMethod’
  158. callJMethod(e1@jc, operators[[op]])
  159. ^~~~~~~~~~~
  160. R/column.R:78:38: warning: no visible binding for global variable ‘operators’
  161. callJMethod(e1@jc, operators[[op]])
  162. ^~~~~~~~~
  163. R/column.R:85:25: warning: no visible global function definition for ‘callJStatic’
  164. jc <- callJStatic("org.apache.spark.sql.functions", operators[[op]], e1@jc, e2)
  165. ^~~~~~~~~~~
  166. R/column.R:85:71: warning: no visible binding for global variable ‘operators’
  167. jc <- callJStatic("org.apache.spark.sql.functions", operators[[op]], e1@jc, e2)
  168. ^~~~~~~~~
  169. R/column.R:87:19: warning: no visible global function definition for ‘callJMethod’
  170. callJMethod(e1@jc, operators[[op]], e2)
  171. ^~~~~~~~~~~
  172. R/column.R:87:38: warning: no visible binding for global variable ‘operators’
  173. callJMethod(e1@jc, operators[[op]], e2)
  174. ^~~~~~~~~
  175. R/column.R:90:15: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  176. column(jc)
  177. ^~~~~~
  178. R/column.R:98:15: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  179. column(callJMethod(x@jc, name))
  180. ^~~~~~
  181. R/column.R:98:22: warning: no visible global function definition for ‘callJMethod’
  182. column(callJMethod(x@jc, name))
  183. ^~~~~~~~~~~
  184. R/column.R:109:21: warning: no visible global function definition for ‘callJMethod’
  185. jc <- callJMethod(x@jc, name, data)
  186. ^~~~~~~~~~~
  187. R/column.R:110:15: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  188. column(jc)
  189. ^~~~~~
  190. R/column.R:124:21: warning: no visible global function definition for ‘callJStatic’
  191. jc <- callJStatic("org.apache.spark.sql.functions", name, x@jc)
  192. ^~~~~~~~~~~
  193. R/column.R:125:15: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  194. column(jc)
  195. ^~~~~~
  196. R/column.R:136:21: warning: no visible global function definition for ‘callJStatic’
  197. jc <- callJStatic("org.apache.spark.sql.functions", name, y@jc, x)
  198. ^~~~~~~~~~~
  199. R/column.R:137:15: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  200. column(jc)
  201. ^~~~~~
  202. R/column.R:143:5: warning: no visible global function definition for ‘createOperator’
  203. createOperator(op)
  204. ^~~~~~~~~~~~~~
  205. R/column.R:146:5: warning: no visible global function definition for ‘createColumnFunction1’
  206. createColumnFunction1(name)
  207. ^~~~~~~~~~~~~~~~~~~~~
  208. R/column.R:149:5: warning: no visible global function definition for ‘createColumnFunction2’
  209. createColumnFunction2(name)
  210. ^~~~~~~~~~~~~~~~~~~~~
  211. R/column.R:152:5: warning: no visible global function definition for ‘createStaticFunction’
  212. createStaticFunction(x)
  213. ^~~~~~~~~~~~~~~~~~~~
  214. R/column.R:155:5: warning: no visible global function definition for ‘createBinaryMathfunctions’
  215. createBinaryMathfunctions(name)
  216. ^~~~~~~~~~~~~~~~~~~~~~~~~
  217. R/context.R:22:27: warning: no visible global function definition for ‘callJMethod’
  218. defaultParallelism <- callJMethod(sc, "defaultParallelism")
  219. ^~~~~~~~~~~
  220. R/context.R:51:11: warning: no visible global function definition for ‘callJMethod’
  221. jrdd <- callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
  222. ^~~~~~~~~~~
  223. R/context.R:51:45: warning: no visible global function definition for ‘getMinPartitions’
  224. jrdd <- callJMethod(sc, "textFile", path, getMinPartitions(sc, minPartitions))
  225. ^~~~~~~~~~~~~~~~
  226. R/context.R:53:3: warning: no visible global function definition for ‘RDD’, Did you mean 'D'?
  227. RDD(jrdd, "string")
  228. ^~~
  229. R/context.R:79:11: warning: no visible global function definition for ‘callJMethod’
  230. jrdd <- callJMethod(sc, "objectFile", path, getMinPartitions(sc, minPartitions))
  231. ^~~~~~~~~~~
  232. R/context.R:79:47: warning: no visible global function definition for ‘getMinPartitions’
  233. jrdd <- callJMethod(sc, "objectFile", path, getMinPartitions(sc, minPartitions))
  234. ^~~~~~~~~~~~~~~~
  235. R/context.R:81:3: warning: no visible global function definition for ‘RDD’, Did you mean 'D'?
  236. RDD(jrdd, "byte")
  237. ^~~
  238. R/context.R:124:31: style: Place a space before left parenthesis, except in a function call.
  239. slices <- split(coll, rep(1:(numSlices + 1), each = sliceLen)[1:length(coll)])
  240. ^
  241. R/context.R:133:3: warning: no visible global function definition for ‘RDD’, Did you mean 'D'?
  242. RDD(jrdd, "byte")
  243. ^~~
  244. R/context.R:202:17: warning: no visible global function definition for ‘callJMethod’
  245. jBroadcast <- callJMethod(sc, "broadcast", serializedObj)
  246. ^~~~~~~~~~~
  247. R/context.R:203:22: warning: no visible global function definition for ‘callJMethod’
  248. id <- as.character(callJMethod(jBroadcast, "id"))
  249. ^~~~~~~~~~~
  250. R/context.R:205:3: warning: no visible global function definition for ‘Broadcast’, Did you mean 'jBroadcast'?
  251. Broadcast(id, object, jBroadcast, objName)
  252. ^~~~~~~~~
  253. R/context.R:224:13: warning: no visible global function definition for ‘callJMethod’
  254. invisible(callJMethod(sc, "setCheckpointDir", suppressWarnings(normalizePath(dirName))))
  255. ^~~~~~~~~~~
  256. R/DataFrame.R:52:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  257. new("DataFrame", sdf, isCached)
  258. ^~~
  259. R/DataFrame.R:815:3: warning: no visible global function definition for ‘column’, Did you mean 'colSums'?
  260. column(callJMethod(x@sdf, "col", c))
  261. ^~~~~~
  262. R/DataFrame.R:815:10: warning: no visible global function definition for ‘callJMethod’
  263. column(callJMethod(x@sdf, "col", c))
  264. ^~~~~~~~~~~
  265. R/DataFrame.R:1317:46: style: Only use double-quotes.
  266. signature(df = "DataFrame", path = 'character'),
  267. ^~~~~~~~~~~
  268. R/DataFrame.R:1325:18: style: Place a space before left parenthesis, except in a function call.
  269. if (!(mode %in% allModes)) {
  270. ^
  271. R/DataFrame.R:1331:26: style: Only use double-quotes.
  272. options[['path']] <- path
  273. ^~~~~~
  274. R/DataFrame.R:1340:46: style: Only use double-quotes.
  275. signature(df = "DataFrame", path = 'character'),
  276. ^~~~~~~~~~~
  277. R/DataFrame.R:1378:51: style: Only use double-quotes.
  278. signature(df = "DataFrame", tableName = 'character', source = 'character',
  279. ^~~~~~~~~~~
  280. R/DataFrame.R:1378:73: style: Only use double-quotes.
  281. signature(df = "DataFrame", tableName = 'character', source = 'character',
  282. ^~~~~~~~~~~
  283. R/DataFrame.R:1379:28: style: Only use double-quotes.
  284. mode = 'character'),
  285. ^~~~~~~~~~~
  286. R/DataFrame.R:1387:18: style: Place a space before left parenthesis, except in a function call.
  287. if (!(mode %in% allModes)) {
  288. ^
  289. R/deserialize.R:38:11: warning: no visible global function definition for ‘readType’
  290. type <- readType(con)
  291. ^~~~~~~~
  292. R/deserialize.R:39:3: warning: no visible global function definition for ‘readTypedObject’
  293. readTypedObject(con, type)
  294. ^~~~~~~~~~~~~~~
  295. R/deserialize.R:58:16: warning: no visible global function definition for ‘readInt’
  296. stringLen <- readInt(con)
  297. ^~~~~~~
  298. R/deserialize.R:72:14: warning: no visible global function definition for ‘readInt’
  299. as.logical(readInt(con))
  300. ^~~~~~~
  301. R/deserialize.R:80:11: warning: no visible global function definition for ‘readString’
  302. as.Date(readString(con))
  303. ^~~~~~~~~~
  304. R/deserialize.R:84:8: warning: no visible global function definition for ‘readDouble’
  305. t <- readDouble(con)
  306. ^~~~~~~~~~
  307. R/deserialize.R:90:11: warning: no visible global function definition for ‘readType’
  308. type <- readType(con)
  309. ^~~~~~~~
  310. R/deserialize.R:91:10: warning: no visible global function definition for ‘readInt’
  311. len <- readInt(con)
  312. ^~~~~~~
  313. R/deserialize.R:95:17: warning: no visible global function definition for ‘readTypedObject’
  314. l[[i]] <- readTypedObject(con, type)
  315. ^~~~~~~~~~~~~~~
  316. R/deserialize.R:104:14: warning: no visible global function definition for ‘readInt’
  317. dataLen <- readInt(con)
  318. ^~~~~~~
  319. R/deserialize.R:105:3: warning: local variable ‘data’ assigned but may not be used
  320. data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
  321. ^~~~
  322. R/deserialize.R:109:3: warning: local variable ‘data’ assigned but may not be used
  323. data <- readBin(con, raw(), as.integer(dataLen), endian = "big")
  324. ^~~~
  325. R/deserialize.R:116:14: warning: no visible global function definition for ‘readInt’
  326. dataLen <- readInt(con)
  327. ^~~~~~~
  328. R/deserialize.R:121:14: warning: no visible global function definition for ‘readInt’
  329. dataLen <- readInt(con)
  330. ^~~~~~~
  331. R/deserialize.R:127:18: warning: no visible global function definition for ‘readInt’
  332. dataLen <- readInt(con)
  333. ^~~~~~~
  334. R/deserialize.R:142:12: warning: no visible global function definition for ‘readRow’, Did you mean 'readRDS'?
  335. row <- readRow(inputCon)
  336. ^~~~~~~
  337. R/deserialize.R:158:3: warning: no visible global function definition for ‘readRow’, Did you mean 'readRDS'?
  338. readRow(rawObj)
  339. ^~~~~~~
  340. R/deserialize.R:162:14: warning: no visible global function definition for ‘readInt’
  341. numCols <- readInt(inputCon)
  342. ^~~~~~~
  343. R/deserialize.R:165:14: warning: no visible global function definition for ‘readObject’
  344. obj <- readObject(inputCon)
  345. ^~~~~~~~~~
  346. R/deserialize.R:181:14: warning: no visible global function definition for ‘readObject’
  347. value <- readObject(inputCon)
  348. ^~~~~~~~~~
  349. R/generics.R:254:35: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  350. standardGeneric("intersection") })
  351. ^
  352. R/generics.R:553:40: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  353. standardGeneric("withColumnRenamed") })
  354. ^
  355. R/group.R:42:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  356. new("GroupedData", sgd)
  357. ^~~
  358. R/group.R:127:22: warning: no visible global function definition for ‘callJMethod’
  359. sdf <- callJMethod(x@sgd, name, toSeq(...))
  360. ^~~~~~~~~~~
  361. R/group.R:127:47: warning: no visible global function definition for ‘toSeq’
  362. sdf <- callJMethod(x@sgd, name, toSeq(...))
  363. ^~~~~
  364. R/group.R:128:15: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  365. dataFrame(sdf)
  366. ^~~~~~~~~
  367. R/group.R:134:5: warning: no visible global function definition for ‘createMethod’
  368. createMethod(name)
  369. ^~~~~~~~~~~~
  370. R/jobj.R:34:47: warning: no visible binding for global variable ‘.sparkREnv’
  371. jobj$appId == get(".scStartTime", envir = .sparkREnv)
  372. ^~~~~~~~~~
  373. R/jobj.R:41:13: warning: no visible global function definition for ‘jobj’, Did you mean 'nobs'?
  374. newObj <- jobj(objId)
  375. ^~~~
  376. R/jobj.R:59:44: warning: no visible binding for global variable ‘.sparkREnv’
  377. obj$appId <- get(".scStartTime", envir = .sparkREnv)
  378. ^~~~~~~~~~
  379. R/jobj.R:63:22: warning: no visible binding for global variable ‘cleanup.jobj’
  380. reg.finalizer(obj, cleanup.jobj)
  381. ^~~~~~~~~~~~
  382. R/jobj.R:75:10: warning: no visible global function definition for ‘callJMethod’
  383. cls <- callJMethod(x, "getClass")
  384. ^~~~~~~~~~~
  385. R/jobj.R:76:11: warning: no visible global function definition for ‘callJMethod’
  386. name <- callJMethod(cls, "getName")
  387. ^~~~~~~~~~~
  388. R/jobj.R:99:15: warning: no visible binding for global variable ‘.validJobjs’
  389. valid <- ls(.validJobjs)
  390. ^~~~~~~~~~~
  391. R/jobj.R:100:28: warning: no visible binding for global variable ‘.validJobjs’
  392. rm(list = valid, envir = .validJobjs)
  393. ^~~~~~~~~~~
  394. R/jobj.R:102:20: warning: no visible binding for global variable ‘.toRemoveJobjs’
  395. removeList <- ls(.toRemoveJobjs)
  396. ^~~~~~~~~~~~~~
  397. R/jobj.R:103:33: warning: no visible binding for global variable ‘.toRemoveJobjs’
  398. rm(list = removeList, envir = .toRemoveJobjs)
  399. ^~~~~~~~~~~~~~
  400. R/pairRDD.R:206:63: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  401. get(name, .broadcastNames) })
  402. ^
  403. R/pairRDD.R:882:27: style: Place a space before left parenthesis, except in a function call.
  404. res[(len + 1):(len + count)] <- rep(list(elem), count)
  405. ^
  406. R/pairRDD.R:882:37: style: Place a space before left parenthesis, except in a function call.
  407. res[(len + 1):(len + count)] <- rep(list(elem), count)
  408. ^
  409. R/RDD.R:88:6: style: Place a space before left parenthesis, except in a function call.
  410. !(e$isCached || e$isCheckpointed)
  411. ^
  412. R/RDD.R:100:32: style: Place a space before left parenthesis, except in a function call.
  413. func(partIndex, prev@func(partIndex, part))
  414. ^
  415. R/RDD.R:121:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  416. new("RDD", jrdd, serializedMode, isCached, isCheckpointed)
  417. ^~~
  418. R/RDD.R:125:3: warning: no visible global function definition for ‘new’, Did you mean 'news'?
  419. new("PipelinedRDD", prev, func, NULL)
  420. ^~~
  421. R/RDD.R:844:25: style: Place a space before left parenthesis, except in a function call.
  422. res[(len + 1):(len + count)] <- rep(list(elem), count)
  423. ^
  424. R/RDD.R:844:35: style: Place a space before left parenthesis, except in a function call.
  425. res[(len + 1):(len + count)] <- rep(list(elem), count)
  426. ^
  427. R/RDD.R:1106:13: warning: no visible global function definition for ‘mapPartitions’
  428. newRdd <- mapPartitions(x, partitionFunc)
  429. ^~~~~~~~~~~~~
  430. R/RDD.R:1110:11: warning: no visible global function definition for ‘getJRDD’
  431. jrdd <- getJRDD(newRdd)
  432. ^~~~~~~
  433. R/RDD.R:1112:24: warning: no visible global function definition for ‘getSerializedMode’
  434. serializedModeRDD <- getSerializedMode(newRdd)
  435. ^~~~~~~~~~~~~~~~~
  436. R/RDD.R:1124:21: warning: no visible global function definition for ‘callJMethod’
  437. partitionArr <- callJMethod(jrdd, "collectPartitions", as.list(as.integer(index)))
  438. ^~~~~~~~~~~
  439. R/RDD.R:1264:15: style: Words within variable and function names should be separated by '_' rather than '.'.
  440. trim.trailing.func <- function(x) {
  441. ^~~~~~~~~~~~~~~~~~
  442. R/RDD.R:1267:44: style: Words within variable and function names should be separated by '_' rather than '.'.
  443. input <- unlist(lapply(part, trim.trailing.func))
  444. ^~~~~~~~~~~~~~~~~~
  445. R/RDD.R:1269:27: style: Words within variable and function names should be separated by '_' rather than '.'.
  446. lapply(res, trim.trailing.func)
  447. ^~~~~~~~~~~~~~~~~~
  448. R/schema.R:45:37: warning: no visible global function definition for ‘callJMethod’
  449. obj$fields <- function() { lapply(callJMethod(obj$jobj, "fields"), structField) }
  450. ^~~~~~~~~~~
  451. R/schema.R:45:70: warning: no visible binding for global variable ‘structField’
  452. obj$fields <- function() { lapply(callJMethod(obj$jobj, "fields"), structField) }
  453. ^~~~~~~~~~~
  454. R/schema.R:60:3: warning: no visible global function definition for ‘structType’
  455. structType(stObj)
  456. ^~~~~~~~~~
  457. R/schema.R:76:30: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  458. sep = "") })
  459. ^
  460. R/schema.R:107:28: warning: no visible global function definition for ‘callJMethod’
  461. obj$name <- function() { callJMethod(x, "name") }
  462. ^~~~~~~~~~~
  463. R/schema.R:108:32: warning: no visible global function definition for ‘callJMethod’
  464. obj$dataType <- function() { callJMethod(x, "dataType") }
  465. ^~~~~~~~~~~
  466. R/schema.R:109:41: warning: no visible global function definition for ‘callJMethod’
  467. obj$dataType.toString <- function() { callJMethod(obj$dataType(), "toString") }
  468. ^~~~~~~~~~~
  469. R/schema.R:110:45: warning: no visible global function definition for ‘callJMethod’
  470. obj$dataType.simpleString <- function() { callJMethod(obj$dataType(), "simpleString") }
  471. ^~~~~~~~~~~
  472. R/schema.R:111:32: warning: no visible global function definition for ‘callJMethod’
  473. obj$nullable <- function() { callJMethod(x, "nullable") }
  474. ^~~~~~~~~~~
  475. R/schema.R:148:3: warning: no visible global function definition for ‘structField’
  476. structField(sfObj)
  477. ^~~~~~~~~~~
  478. R/serialize.R:76:3: warning: no visible global function definition for ‘writeString’
  479. writeString(con, value$id)
  480. ^~~~~~~~~~~
  481. R/serialize.R:81:3: warning: no visible global function definition for ‘writeInt’
  482. writeInt(con, as.integer(nchar(utfVal, type = "bytes") + 1))
  483. ^~~~~~~~
  484. R/serialize.R:95:3: warning: no visible global function definition for ‘writeInt’
  485. writeInt(con, as.integer(value))
  486. ^~~~~~~~
  487. R/serialize.R:100:3: warning: no visible global function definition for ‘writeRaw’
  488. writeRaw(outputCon, outputSer)
  489. ^~~~~~~~
  490. R/serialize.R:105:14: warning: no visible global function definition for ‘serializeRow’
  491. bytes <- serializeRow(r)
  492. ^~~~~~~~~~~~
  493. R/serialize.R:106:5: warning: no visible global function definition for ‘writeRaw’
  494. writeRaw(outputCon, bytes)
  495. ^~~~~~~~
  496. R/serialize.R:113:3: warning: no visible global function definition for ‘writeRow’
  497. writeRow(rawObj, row)
  498. ^~~~~~~~
  499. R/serialize.R:119:3: warning: no visible global function definition for ‘writeInt’
  500. writeInt(con, numCols)
  501. ^~~~~~~~
  502. R/serialize.R:121:5: warning: no visible global function definition for ‘writeObject’
  503. writeObject(con, row[[i]])
  504. ^~~~~~~~~~~
  505. R/serialize.R:126:3: warning: no visible global function definition for ‘writeInt’
  506. writeInt(con, length(batch))
  507. ^~~~~~~~
  508. R/serialize.R:143:28: style: Only use double-quotes.
  509. POSIXlt = 't',
  510. ^~~
  511. R/serialize.R:144:28: style: Only use double-quotes.
  512. POSIXct = 't',
  513. ^~~
  514. R/serialize.R:161:3: warning: no visible global function definition for ‘writeType’
  515. writeType(con, elemType)
  516. ^~~~~~~~~
  517. R/serialize.R:162:3: warning: no visible global function definition for ‘writeInt’
  518. writeInt(con, length(arr))
  519. ^~~~~~~~
  520. R/serialize.R:166:7: warning: no visible global function definition for ‘writeObject’
  521. writeObject(con, a, FALSE)
  522. ^~~~~~~~~~~
  523. R/serialize.R:173:3: warning: no visible global function definition for ‘writeInt’
  524. writeInt(con, length(list))
  525. ^~~~~~~~
  526. R/serialize.R:175:5: warning: no visible global function definition for ‘writeObject’
  527. writeObject(con, elem)
  528. ^~~~~~~~~~~
  529. R/serialize.R:183:3: warning: no visible global function definition for ‘writeInt’
  530. writeInt(con, len)
  531. ^~~~~~~~
  532. R/serialize.R:185:5: warning: no visible global function definition for ‘writeList’
  533. writeList(con, as.list(ls(env)))
  534. ^~~~~~~~~
  535. R/serialize.R:187:5: warning: no visible global function definition for ‘writeGenericList’
  536. writeGenericList(con, as.list(vals))
  537. ^~~~~~~~~~~~~~~~
  538. R/serialize.R:192:3: warning: no visible global function definition for ‘writeString’
  539. writeString(con, as.character(date))
  540. ^~~~~~~~~~~
  541. R/serialize.R:196:3: warning: no visible global function definition for ‘writeDouble’
  542. writeDouble(con, as.double(time))
  543. ^~~~~~~~~~~
  544. R/serialize.R:205:7: warning: no visible global function definition for ‘writeObject’
  545. writeObject(con, a)
  546. ^~~~~~~~~~~
  547. R/sparkR.R:25:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  548. }, error = function(err) {
  549. ^
  550. R/sparkR.R:34:10: warning: no visible binding for global variable ‘.sparkREnv’
  551. env <- .sparkREnv
  552. ^~~~~~~~~~
  553. R/sparkR.R:39:7: warning: no visible global function definition for ‘callJMethod’
  554. callJMethod(sc, "stop")
  555. ^~~~~~~~~~~
  556. R/sparkR.R:44:7: warning: no visible global function definition for ‘callJStatic’
  557. callJStatic("SparkRHandler", "stopBackend")
  558. ^~~~~~~~~~~
  559. R/sparkR.R:63:3: warning: no visible global function definition for ‘clearBroadcastVariables’
  560. clearBroadcastVariables()
  561. ^~~~~~~~~~~~~~~~~~~~~~~
  562. R/sparkR.R:66:3: warning: no visible global function definition for ‘clearJobjs’
  563. clearJobjs()
  564. ^~~~~~~~~~
  565. R/sparkR.R:107:3: warning: local variable ‘sparkMem’ assigned but may not be used
  566. sparkMem <- Sys.getenv("SPARK_MEM", "1024m")
  567. ^~~~~~~~
  568. R/sparkR.R:113:5: warning: local variable ‘collapseChar’ assigned but may not be used
  569. collapseChar <- ":"
  570. ^~~~~~~~~~~~
  571. R/sparkR.R:143:26: style: Only use double-quotes.
  572. f <- file(path, open='rb')
  573. ^~~~
  574. R/sparkR.R:144:20: warning: no visible global function definition for ‘readInt’
  575. backendPort <- readInt(f)
  576. ^~~~~~~
  577. R/sparkR.R:145:20: warning: no visible global function definition for ‘readInt’
  578. monitorPort <- readInt(f)
  579. ^~~~~~~
  580. R/sparkR.R:158:5: warning: no visible global function definition for ‘connectBackend’
  581. connectBackend("localhost", backendPort)
  582. ^~~~~~~~~~~~~~
  583. R/sparkR.R:159:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  584. }, error = function(err) {
  585. ^
  586. R/sparkR.R:226:40: warning: no visible binding for global variable ‘.sparkREnv’
  587. return(get(".sparkRSQLsc", envir = .sparkREnv))
  588. ^~~~~~~~~~
  589. R/sparkR.R:231:5: warning: no visible global function definition for ‘sparkR.init’
  590. sparkR.init()
  591. ^~~~~~~~~~~
  592. R/sparkR.R:239:46: warning: no visible binding for global variable ‘.sparkREnv’
  593. assign(".sparkRSQLsc", sqlContext, envir = .sparkREnv)
  594. ^~~~~~~~~~
  595. R/sparkR.R:257:41: warning: no visible binding for global variable ‘.sparkREnv’
  596. return(get(".sparkRHivesc", envir = .sparkREnv))
  597. ^~~~~~~~~~
  598. R/sparkR.R:262:5: warning: no visible global function definition for ‘sparkR.init’
  599. sparkR.init()
  600. ^~~~~~~~~~~
  601. R/sparkR.R:267:10: warning: no visible global function definition for ‘callJMethod’
  602. ssc <- callJMethod(sc, "sc")
  603. ^~~~~~~~~~~
  604. R/sparkR.R:269:5: warning: no visible global function definition for ‘newJObject’
  605. newJObject("org.apache.spark.sql.hive.HiveContext", ssc)
  606. ^~~~~~~~~~
  607. R/sparkR.R:270:3: style: Closing curly-braces should always be on their own line, unless it's followed by an else.
  608. }, error = function(err) {
  609. ^
  610. R/sparkR.R:274:44: warning: no visible binding for global variable ‘.sparkREnv’
  611. assign(".sparkRHivesc", hiveCtx, envir = .sparkREnv)
  612. ^~~~~~~~~~
  613. R/sparkR.R:292:3: warning: no visible global function definition for ‘callJMethod’
  614. callJMethod(sc, "setJobGroup", groupId, description, interruptOnCancel)
  615. ^~~~~~~~~~~
  616. R/sparkR.R:305:3: warning: no visible global function definition for ‘callJMethod’
  617. callJMethod(sc, "clearJobGroup")
  618. ^~~~~~~~~~~
  619. R/sparkR.R:319:3: warning: no visible global function definition for ‘callJMethod’
  620. callJMethod(sc, "cancelJobGroup", groupId)
  621. ^~~~~~~~~~~
  622. R/SQLContext.R:57:9: warning: no visible global function definition for ‘structField’
  623. structField(names[[i]], types[[i]], TRUE)
  624. ^~~~~~~~~~~
  625. R/SQLContext.R:59:15: warning: no visible binding for global variable ‘structType’
  626. do.call(structType, fields)
  627. ^~~~~~~~~~
  628. R/SQLContext.R:107:11: warning: no visible global function definition for ‘callJStatic’
  629. sc <- callJStatic("org.apache.spark.sql.api.r.SQLUtils", "getJavaSparkContext", sqlContext)
  630. ^~~~~~~~~~~
  631. R/SQLContext.R:108:12: warning: no visible global function definition for ‘parallelize’
  632. rdd <- parallelize(sc, data)
  633. ^~~~~~~~~~~
  634. R/SQLContext.R:116:12: warning: no visible global function definition for ‘first’, Did you mean 'dist'?
  635. row <- first(rdd)
  636. ^~~~~
  637. R/SQLContext.R:138:26: warning: no visible binding for global variable ‘infer_type’
  638. types <- lapply(row, infer_type)
  639. ^~~~~~~~~~
  640. R/SQLContext.R:140:7: warning: no visible global function definition for ‘structField’
  641. structField(names[[i]], types[[i]], TRUE)
  642. ^~~~~~~~~~~
  643. R/SQLContext.R:142:23: warning: no visible binding for global variable ‘structType’
  644. schema <- do.call(structType, fields)
  645. ^~~~~~~~~~
  646. R/SQLContext.R:148:11: warning: no visible global function definition for ‘getJRDD’
  647. jrdd <- getJRDD(lapply(rdd, function(x) x), "row")
  648. ^~~~~~~
  649. R/SQLContext.R:149:11: warning: no visible global function definition for ‘callJMethod’
  650. srdd <- callJMethod(jrdd, "rdd")
  651. ^~~~~~~~~~~
  652. R/SQLContext.R:152:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  653. dataFrame(sdf)
  654. ^~~~~~~~~
  655. R/SQLContext.R:207:10: warning: no visible global function definition for ‘callJMethod’
  656. sdf <- callJMethod(sqlContext, "jsonFile", path)
  657. ^~~~~~~~~~~
  658. R/SQLContext.R:208:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  659. dataFrame(sdf)
  660. ^~~~~~~~~
  661. R/SQLContext.R:232:10: warning: no visible global function definition for ‘serializeToString’
  662. rdd <- serializeToString(rdd)
  663. ^~~~~~~~~~~~~~~~~
  664. R/SQLContext.R:234:12: warning: no visible global function definition for ‘callJMethod’
  665. sdf <- callJMethod(sqlContext, "jsonRDD", callJMethod(getJRDD(rdd), "rdd"), samplingRatio)
  666. ^~~~~~~~~~~
  667. R/SQLContext.R:234:12: warning: no visible global function definition for ‘callJMethod’
  668. sdf <- callJMethod(sqlContext, "jsonRDD", callJMethod(getJRDD(rdd), "rdd"), samplingRatio)
  669. ^~~~~~~~~~~
  670. R/SQLContext.R:234:59: warning: no visible global function definition for ‘getJRDD’
  671. sdf <- callJMethod(sqlContext, "jsonRDD", callJMethod(getJRDD(rdd), "rdd"), samplingRatio)
  672. ^~~~~~~
  673. R/SQLContext.R:235:5: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  674. dataFrame(sdf)
  675. ^~~~~~~~~
  676. R/SQLContext.R:255:10: warning: no visible global function definition for ‘callJMethod’
  677. sdf <- callJMethod(sqlContext, "parquetFile", paths)
  678. ^~~~~~~~~~~
  679. R/SQLContext.R:256:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  680. dataFrame(sdf)
  681. ^~~~~~~~~
  682. R/SQLContext.R:278:9: warning: no visible global function definition for ‘callJMethod’
  683. sdf <- callJMethod(sqlContext, "sql", sqlQuery)
  684. ^~~~~~~~~~~
  685. R/SQLContext.R:279:2: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  686. dataFrame(sdf)
  687. ^~~~~~~~~
  688. R/SQLContext.R:302:10: warning: no visible global function definition for ‘callJMethod’
  689. sdf <- callJMethod(sqlContext, "table", tableName)
  690. ^~~~~~~~~~~
  691. R/SQLContext.R:303:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  692. dataFrame(sdf)
  693. ^~~~~~~~~
  694. R/SQLContext.R:324:5: warning: no visible global function definition for ‘callJMethod’
  695. callJMethod(sqlContext, "tables")
  696. ^~~~~~~~~~~
  697. R/SQLContext.R:326:5: warning: no visible global function definition for ‘callJMethod’
  698. callJMethod(sqlContext, "tables", databaseName)
  699. ^~~~~~~~~~~
  700. R/SQLContext.R:328:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  701. dataFrame(jdf)
  702. ^~~~~~~~~
  703. R/SQLContext.R:349:5: warning: no visible global function definition for ‘callJMethod’
  704. callJMethod(sqlContext, "tableNames")
  705. ^~~~~~~~~~~
  706. R/SQLContext.R:351:5: warning: no visible global function definition for ‘callJMethod’
  707. callJMethod(sqlContext, "tableNames", databaseName)
  708. ^~~~~~~~~~~
  709. R/SQLContext.R:375:3: warning: no visible global function definition for ‘callJMethod’
  710. callJMethod(sqlContext, "cacheTable", tableName)
  711. ^~~~~~~~~~~
  712. R/SQLContext.R:397:3: warning: no visible global function definition for ‘callJMethod’
  713. callJMethod(sqlContext, "uncacheTable", tableName)
  714. ^~~~~~~~~~~
  715. R/SQLContext.R:411:3: warning: no visible global function definition for ‘callJMethod’
  716. callJMethod(sqlContext, "clearCache")
  717. ^~~~~~~~~~~
  718. R/SQLContext.R:434:3: warning: no visible global function definition for ‘callJMethod’
  719. callJMethod(sqlContext, "dropTempTable", tableName)
  720. ^~~~~~~~~~~
  721. R/SQLContext.R:458:14: warning: no visible global function definition for ‘varargsToEnv’
  722. options <- varargsToEnv(...)
  723. ^~~~~~~~~~~~
  724. R/SQLContext.R:460:14: style: Only use double-quotes.
  725. options[['path']] <- path
  726. ^~~~~~
  727. R/SQLContext.R:463:47: warning: no visible binding for global variable ‘.sparkREnv’
  728. sqlContext <- get(".sparkRSQLsc", envir = .sparkREnv)
  729. ^~~~~~~~~~
  730. R/SQLContext.R:472:12: warning: no visible global function definition for ‘callJStatic’
  731. sdf <- callJStatic("org.apache.spark.sql.api.r.SQLUtils", "loadDF", sqlContext, source, options)
  732. ^~~~~~~~~~~
  733. R/SQLContext.R:474:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  734. dataFrame(sdf)
  735. ^~~~~~~~~
  736. R/SQLContext.R:481:3: warning: no visible global function definition for ‘read.df’, Did you mean 'read.dcf'?
  737. read.df(sqlContext, path, source, schema, ...)
  738. ^~~~~~~
  739. R/SQLContext.R:507:14: warning: no visible global function definition for ‘varargsToEnv’
  740. options <- varargsToEnv(...)
  741. ^~~~~~~~~~~~
  742. R/SQLContext.R:509:14: style: Only use double-quotes.
  743. options[['path']] <- path
  744. ^~~~~~
  745. R/SQLContext.R:511:10: warning: no visible global function definition for ‘callJMethod’
  746. sdf <- callJMethod(sqlContext, "createExternalTable", tableName, source, options)
  747. ^~~~~~~~~~~
  748. R/SQLContext.R:512:3: warning: no visible global function definition for ‘dataFrame’, Did you mean 'data.frame'?
  749. dataFrame(sdf)
  750. ^~~~~~~~~
  751. R/utils.R:25:14: warning: no visible global function definition for ‘callJMethod’
  752. arrSize <- callJMethod(jList, "size")
  753. ^~~~~~~~~~~
  754. R/utils.R:35:14: style: Place a space before left parenthesis, except in a function call.
  755. lapply(0:(arrSize - 1),
  756. ^
  757. R/utils.R:37:20: warning: no visible global function definition for ‘callJMethod’
  758. obj <- callJMethod(jList, "get", as.integer(index))
  759. ^~~~~~~~~~~
  760. R/utils.R:44:29: warning: no visible global function definition for ‘callJMethod’
  761. keyBytes <- callJMethod(obj, "_1")
  762. ^~~~~~~~~~~
  763. R/utils.R:45:29: warning: no visible global function definition for ‘callJMethod’
  764. valBytes <- callJMethod(obj, "_2")
  765. ^~~~~~~~~~~
  766. R/utils.R:62:26: warning: no visible global function definition for ‘readRowList’
  767. res <- readRowList(obj)
  768. ^~~~~~~~~~~
  769. R/utils.R:136:20: warning: no visible global function definition for ‘mult31AndAdd’
  770. hashC <- mult31AndAdd(hashC, asciiVals[k])
  771. ^~~~~~~~~~~~
  772. R/utils.R:163:11: warning: no visible global function definition for ‘wrapInt’
  773. wrapInt(as.numeric(a) + as.numeric(b))
  774. ^~~~~~~
  775. R/utils.R:191:5: warning: no visible global function definition for ‘getJRDD’
  776. getJRDD(ser.rdd, serializedMode = "string")
  777. ^~~~~~~
  778. R/utils.R:282:12: warning: no visible global function definition for ‘genCompactLists’
  779. lists <- genCompactLists(tagged_list, cnull)
  780. ^~~~~~~~~~~~~~~
  781. R/utils.R:283:3: warning: no visible global function definition for ‘mergeCompactLists’
  782. mergeCompactLists(lists[[1]], lists[[2]])
  783. ^~~~~~~~~~~~~~~~~
  784. R/utils.R:365:3: warning: no visible global function definition for ‘callJStatic’
  785. callJStatic("org.apache.spark.sql.api.r.SQLUtils", "toSeq", list(...))
  786. ^~~~~~~~~~~
  787. R/utils.R:370:3: warning: no visible global function definition for ‘callJStatic’
  788. callJStatic("org.apache.spark.sql.api.r.SQLUtils", "toSeq", l)
  789. ^~~~~~~~~~~
  790. R/utils.R:407:11: warning: no visible global function definition for ‘addItemToAccumulator’
  791. addItemToAccumulator(defVars, as.character(defVar))
  792. ^~~~~~~~~~~~~~~~~~~~
  793. R/utils.R:418:41: warning: no visible global function definition for ‘addItemToAccumulator’
  794. lapply(newArgs, function(arg) { addItemToAccumulator(defVars, arg) })
  795. ^~~~~~~~~~~~~~~~~~~~
  796. R/utils.R:451:1: style: Trailing whitespace is superfluous.
  797.  
  798. ^~~~~~~~~
  799. R/utils.R:476:22: warning: no visible global function definition for ‘cleanClosure’
  800. obj <- cleanClosure(obj, checkedFuncs)
  801. ^~~~~~~~~~~~
  802. R/utils.R:506:16: warning: no visible global function definition for ‘initAccumulator’
  803. defVars <- initAccumulator()
  804. ^~~~~~~~~~~~~~~
  805. R/utils.R:510:7: warning: no visible global function definition for ‘addItemToAccumulator’
  806. addItemToAccumulator(defVars, argNames[i])
  807. ^~~~~~~~~~~~~~~~~~~~
  808. R/utils.R:513:5: warning: no visible global function definition for ‘processClosure’
  809. processClosure(func.body, oldEnv, defVars, checkedFuncs, newEnv)
  810. ^~~~~~~~~~~~~~
  811. R/utils.R:540:10: warning: no visible global function definition for ‘lapplyPartition’
  812. x <- lapplyPartition(x, appendLength)
  813. ^~~~~~~~~~~~~~~
  814. R/utils.R:541:14: warning: no visible global function definition for ‘lapplyPartition’
  815. other <- lapplyPartition(other, appendLength)
  816. ^~~~~~~~~~~~~~~
  817. R/utils.R:553:21: warning: no visible global function definition for ‘getSerializedMode’
  818. serializerMode <- getSerializedMode(rdd)
  819. ^~~~~~~~~~~~~~~~~
  820. R/utils.R:575:26: style: Place a space before left parenthesis, except in a function call.
  821. values <- part[(lengthOfKeys + 1) : (len - 1)]
  822. ^
  823. R/utils.R:581:18: warning: no visible global function definition for ‘mergeCompactLists’
  824. return(mergeCompactLists(keys, values))
  825. ^~~~~~~~~~~~~~~~~
  826. R/utils.R:598:3: warning: no visible global function definition for ‘PipelinedRDD’
  827. PipelinedRDD(rdd, partitionFunc)
  828. ^~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement