Github user shivaram commented on the issue:
https://github.com/apache/spark/pull/14243
@sun-rui Thats a good point. Right now the test will be canceled if R is
not installed (from the line `assume(R.isInstalled)`. I also added a check to
make sure SparkR is installed in `SPARK_HOME/R/lib`. With this it cancels the
test but passes the entire test suite if SparkR isn't installed. It prints a
warning message which looks like
```
- include an external JAR in SparkR !!! CANCELED !!! (42 milliseconds)
[info] org.apache.spark.api.r.RUtils.isSparkRInstalled was false SparkR
is not installed in this build. (SparkSubmitSuite.scala:442)
```
@felixcheung Yeah thats the idea. CRAN will only run the R tests and not
the Scala ones.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]