Repository: spark Updated Branches: refs/heads/branch-2.2 f96d13dd6 -> 8c223b651
[R][BACKPORT-2.2] backport lint fix ## What changes were proposed in this pull request? backport part of the commit that addresses lintr issue Author: Felix Cheung <felixcheun...@hotmail.com> Closes #21325 from felixcheung/rlintfix22. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/8c223b65 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/8c223b65 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/8c223b65 Branch: refs/heads/branch-2.2 Commit: 8c223b651c3330e6b7f5bcf24b9911b0c32dc7b9 Parents: f96d13d Author: Felix Cheung <felixcheun...@hotmail.com> Authored: Tue May 15 19:31:14 2018 -0700 Committer: Felix Cheung <felixche...@apache.org> Committed: Tue May 15 19:31:14 2018 -0700 ---------------------------------------------------------------------- R/pkg/R/sparkR.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/8c223b65/R/pkg/R/sparkR.R ---------------------------------------------------------------------- diff --git a/R/pkg/R/sparkR.R b/R/pkg/R/sparkR.R index daa855b..22a99e2 100644 --- a/R/pkg/R/sparkR.R +++ b/R/pkg/R/sparkR.R @@ -196,7 +196,7 @@ sparkR.sparkContext <- function( # Don't use readString() so that we can provide a useful # error message if the R and Java versions are mismatched. - authSecretLen = readInt(f) + authSecretLen <- readInt(f) if (length(authSecretLen) == 0 || authSecretLen == 0) { stop("Unexpected EOF in JVM connection data. Mismatched versions?") } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org