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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to