From b4b35f133aecaf84f04e8e444b660a33c6b7894a Mon Sep 17 00:00:00 2001 From: Yu ISHIKAWA Date: Tue, 18 Aug 2015 19:18:05 -0700 Subject: [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 Closes #8297 from yu-iskw/minor-lint-r. --- R/pkg/R/functions.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'R/pkg') diff --git a/R/pkg/R/functions.R b/R/pkg/R/functions.R index 6eef4d638e..e606b20570 100644 --- a/R/pkg/R/functions.R +++ b/R/pkg/R/functions.R @@ -71,7 +71,9 @@ createFunctions() #' @return Creates a Column class of literal value. setMethod("lit", signature("ANY"), function(x) { - jc <- callJStatic("org.apache.spark.sql.functions", "lit", ifelse(class(x) == "Column", x@jc, x)) + jc <- callJStatic("org.apache.spark.sql.functions", + "lit", + ifelse(class(x) == "Column", x@jc, x)) column(jc) }) -- cgit v1.2.3