You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:42:20 UTC
[jira] [Resolved] (SPARK-22415) lint-r fails if lint-r.R installs
any new packages
[ https://issues.apache.org/jira/browse/SPARK-22415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-22415.
----------------------------------
Resolution: Incomplete
> lint-r fails if lint-r.R installs any new packages
> --------------------------------------------------
>
> Key: SPARK-22415
> URL: https://issues.apache.org/jira/browse/SPARK-22415
> Project: Spark
> Issue Type: Bug
> Components: Tests
> Affects Versions: 2.3.0
> Environment: OSX 10.12.6 R 3.4.2
> Reporter: Joel Croteau
> Priority: Minor
> Labels: bulk-closed
>
> The dev/lint-r script checks for lint failures by seeing if anything is output to stdout by lint-r.R. Since package installations will often produce output to stdout, this will cause it to report a failure even if lint-r.R succeeded. This would also mean that if there were a failure further up in lint-r.R that output a message to stderr, it would not detect this and think lint-r.R had succeeded. It would be preferable for lint-r.R to output lints to stderr and for lint-r to check that and/or for lint-r.R to return a failure code if there are any lints, which lint-r could check for. I will write a patch to do this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org