spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixcheung <>
Subject [GitHub] spark pull request #15790: [SPARK-18264][SPARKR] build vignettes with packag...
Date Thu, 10 Nov 2016 22:31:47 GMT
Github user felixcheung commented on a diff in the pull request:
    --- Diff: R/ ---
    @@ -36,11 +36,27 @@ if [ ! -z "$R_HOME" ]
     echo "USING R_HOME = $R_HOME"
    -# Build the latest docs
    +# Build the latest docs, but not vignettes, which is built with the package next
    -# Build a zip file containing the source package
    -"$R_SCRIPT_PATH/"R CMD build $FWDIR/pkg
    +# Build source package with vignettes
    +SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
    --- End diff --
    that's odd, it works in my environment.
    do you happen to have under a subdirectory of R?
    this is the code:
    SPARK_HOME="$(cd "`dirname "$0"`"/..; pwd)"
    . "${SPARK_HOME}"/bin/
    so for /opt/spark/R/, it should look for /opt/spark/bin/
    and SPARK_HOME should be /opt/spark

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message