[ 
https://issues.apache.org/jira/browse/SPARK-22344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234372#comment-16234372
 ] 

Shivaram Venkataraman commented on SPARK-22344:
-----------------------------------------------

Right I was considering that - but everytime we run `check-cran.sh` in Jenkins 
or locally we are running with `NOT_CRAN` false and `SPARK_HOME` set ?

> Prevent R CMD check from using /tmp
> -----------------------------------
>
>                 Key: SPARK-22344
>                 URL: https://issues.apache.org/jira/browse/SPARK-22344
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.6.3, 2.1.2, 2.2.0, 2.3.0
>            Reporter: Shivaram Venkataraman
>            Priority: Major
>
> When R CMD check is run on the SparkR package it leaves behind files in /tmp 
> which is a violation of CRAN policy. We should instead write to Rtmpdir. 
> Notes from CRAN are below
> {code}
> Checking this leaves behind dirs
>    hive/$USER
>    $USER
> and files named like
>    b4f6459b-0624-4100-8358-7aa7afbda757_resources
> in /tmp, in violation of the CRAN Policy.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to