Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15799 Release SparkR on CRAN
  3. SPARK-18817

Ensure nothing is written outside R's tempdir() by default

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.2, 2.1.0
    • 2.1.1, 2.2.0
    • SparkR
    • None

    Description

      Per CRAN policies
      https://cran.r-project.org/web/packages/policies.html

      • Packages should not write in the users’ home filespace, nor anywhere else on the file system apart from the R session’s temporary directory (or during installation in the location pointed to by TMPDIR: and such usage should be cleaned up). Installing into the system’s R installation (e.g., scripts to its bin directory) is not allowed.
        Limited exceptions may be allowed in interactive sessions if the package obtains confirmation from the user.
      • Packages should not modify the global environment (user’s workspace).

      Currently "spark-warehouse" gets created in the working directory when sparkR.session() is called.

      Attachments

        Activity

          People

            felixcheung Felix Cheung
            bdwyer Brendan Dwyer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: