Skip to content

Commit b51ce93

Browse files
felixcheungFelix Cheung
authored and
Felix Cheung
committed
[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 <felixcheung_m@hotmail.com> Closes #21325 from felixcheung/rlintfix22. (cherry picked from commit 8c223b6) Signed-off-by: Felix Cheung <felixcheung@apache.org>
1 parent 1d569f6 commit b51ce93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/R/sparkR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ sparkR.sparkContext <- function(
196196

197197
# Don't use readString() so that we can provide a useful
198198
# error message if the R and Java versions are mismatched.
199-
authSecretLen = readInt(f)
199+
authSecretLen <- readInt(f)
200200
if (length(authSecretLen) == 0 || authSecretLen == 0) {
201201
stop("Unexpected EOF in JVM connection data. Mismatched versions?")
202202
}

0 commit comments

Comments
 (0)