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 2020/07/30 07:25:00 UTC

[jira] [Created] (SPARK-32491) Do not install SparkR in test-only mode in testing script

Hyukjin Kwon created SPARK-32491:
------------------------------------

             Summary: Do not install SparkR in test-only mode in testing script
                 Key: SPARK-32491
                 URL: https://issues.apache.org/jira/browse/SPARK-32491
             Project: Spark
          Issue Type: Improvement
          Components: Project Infra
    Affects Versions: 3.1.0
            Reporter: Hyukjin Kwon


Currently GitHub Actions builds are failed as below:

{code}
ERROR: this R is version 3.4.4, package 'SparkR' requires R >= 3.5
[error] running /home/runner/work/spark/spark/R/install-dev.sh ; received return code 1
##[error]Process completed with exit code 10.
{code}

https://github.com/apache/spark/runs/926437963

Looks GitHub Actions has R 3.4.4 installed by default; however, R 3.4 was dropped as of SPARK-32073. When SparkR tests are not needed, GitHub Actions does not install R 3.6 and it caused the test failure.

In fact, SparkR is installed in case of running R linter, see SPARK-8505; however, we don't run the linters in test-only mode at testing script.

We can safely skip it in test-only mode in our testing script.



--
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