You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shivaram Venkataraman (JIRA)" <ji...@apache.org> on 2017/11/01 06:12:00 UTC

[jira] [Commented] (SPARK-22344) Prevent R CMD check from using /tmp

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

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

So I started working on this but this is a little non-trivial because if the user had supplied a `SPARK_HOME` then we would end up deleting JARs from that directory ? 

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