Skip to content

Commit b4b35f1

Browse files
yu-iskwshivaram
authored andcommitted
[SPARKR] [MINOR] Get rid of a long line warning
``` R/functions.R:74:1: style: lines should not be more than 100 characters. jc <- callJStatic("org.apache.spark.sql.functions", "lit", ifelse(class(x) == "Column", xjc, x)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Author: Yu ISHIKAWA <[email protected]> Closes #8297 from yu-iskw/minor-lint-r.
1 parent 1f89029 commit b4b35f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/pkg/R/functions.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ createFunctions()
7171
#' @return Creates a Column class of literal value.
7272
setMethod("lit", signature("ANY"),
7373
function(x) {
74-
jc <- callJStatic("org.apache.spark.sql.functions", "lit", ifelse(class(x) == "Column", x@jc, x))
74+
jc <- callJStatic("org.apache.spark.sql.functions",
75+
"lit",
76+
ifelse(class(x) == "Column", x@jc, x))
7577
column(jc)
7678
})
7779

0 commit comments

Comments
 (0)