diff options
author | Yu ISHIKAWA <yuu.ishikawa@gmail.com> | 2015-08-18 19:18:05 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2015-08-18 19:18:05 -0700 |
commit | b4b35f133aecaf84f04e8e444b660a33c6b7894a (patch) | |
tree | 456eade33b0037f86b08a979297afe9ac41c779d /R | |
parent | 1f8902964d8af7853c389b3b013b3a9b002c6c06 (diff) | |
download | spark-b4b35f133aecaf84f04e8e444b660a33c6b7894a.tar.gz spark-b4b35f133aecaf84f04e8e444b660a33c6b7894a.tar.bz2 spark-b4b35f133aecaf84f04e8e444b660a33c6b7894a.zip |
[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 <yuu.ishikawa@gmail.com>
Closes #8297 from yu-iskw/minor-lint-r.
Diffstat (limited to 'R')
-rw-r--r-- | R/pkg/R/functions.R | 4 |
1 files changed, 3 insertions, 1 deletions
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) }) |