Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/15790#discussion_r87504850
--- Diff: R/check-cran.sh ---
@@ -36,11 +36,27 @@ if [ ! -z "$R_HOME" ]
fi
echo "USING R_HOME = $R_HOME"
-# Build the latest docs
-$FWDIR/create-docs.sh
+# Build the latest docs, but not vignettes, which is built with the
package next
+NO_VIGNETTES=1 $FWDIR/create-docs.sh
-# 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 --
So I think this needs to be at the top of the file - The current working
directory is probably changed in the middle by `create-docs.sh` or the `pushd
$FWDIR` ?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]