You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-16577][SPARKR] Add CRAN documentation checks to run-tests.sh
## What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
## How was this patch tested?
This change adds CRAN documentation checks to be run as a part of `R/run-tests.sh` . As this script is also used by Jenkins this means that we will get documentation checks on every PR going forward.
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Author: Shivaram Venkataraman <[email protected]>
Closes#14759 from shivaram/sparkr-cran-jenkins.
(cherry picked from commit 920806a)
Signed-off-by: Shivaram Venkataraman <[email protected]>
Copy file name to clipboardExpand all lines: R/run-tests.sh
+24-3Lines changed: 24 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,35 @@ rm -f $LOGFILE
26
26
SPARK_TESTING=1 $FWDIR/../bin/spark-submit --driver-java-options "-Dlog4j.configuration=file:$FWDIR/log4j.properties" --conf spark.hadoop.fs.default.name="file:///"$FWDIR/pkg/tests/run-all.R 2>&1| tee -a $LOGFILE
27
27
FAILED=$((PIPESTATUS[0]||$FAILED))
28
28
29
+
# Also run the documentation tests for CRAN
30
+
CRAN_CHECK_LOG_FILE=$FWDIR/cran-check.out
31
+
rm -f $CRAN_CHECK_LOG_FILE
32
+
33
+
NO_TESTS=1 NO_MANUAL=1 $FWDIR/check-cran.sh 2>&1| tee -a $CRAN_CHECK_LOG_FILE
0 commit comments