You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yu Ishikawa (JIRA)" <ji...@apache.org> on 2015/11/04 00:13:27 UTC
[jira] [Created] (SPARK-11492) Ignore commented code warnings in
SparkR
Yu Ishikawa created SPARK-11492:
-----------------------------------
Summary: Ignore commented code warnings in SparkR
Key: SPARK-11492
URL: https://issues.apache.org/jira/browse/SPARK-11492
Project: Spark
Issue Type: Sub-task
Components: SparkR
Reporter: Yu Ishikawa
Priority: Minor
cc [~shivaram]
We have many commented code warnings under the lastest lintr. Should we turnn off {{commented_code_linter}} rule of lintr?
{noformat}
# rdd <- lapply(parallelize(sc, 1:10), function(x) list(a=x, b=as.character(x)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/SQLContext.R:176:3: style: Commented code should be removed.
# df <- toDF(rdd)
^~~~~~~~~~~~~~~
R/SQLContext.R:232:3: style: Commented code should be removed.
# sc <- sparkR.init()
^~~~~~~~~~~~~~~~~~~
R/SQLContext.R:233:3: style: Commented code should be removed.
# sqlContext <- sparkRSQL.init(sc)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/SQLContext.R:234:3: style: Commented code should be removed.
# rdd <- texFile(sc, "path/to/json")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R/SQLContext.R:235:3: style: Commented code should be removed.
# df <- jsonRDD(sqlContext, rdd)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org