Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10652#discussion_r49159546
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/RPackageUtils.scala 
---
    @@ -36,7 +36,8 @@ private[deploy] object RPackageUtils extends Logging {
       private final val hasRPackage = "Spark-HasRPackage"
     
       /** Base of the shell command used in order to install R packages. */
    -  private final val baseInstallCmd = Seq("R", "CMD", "INSTALL", "-l")
    +  private final val baseInstallCmd = Seq("R", "--no-save", 
"--no-site-file", "--no-environ",
    +    "--no-restore", "CMD", "INSTALL", "-l")
    --- End diff --
    
    I actually think it does - it's easier to try to install package in a clean 
state than trying to debug when the job failed because the package failed to 
install.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to