GitHub user felixcheung opened a pull request: https://github.com/apache/spark/pull/19657
[SPARK-22344][SPARKR] clean up install dir if running test as source package ## What changes were proposed in this pull request? remove spark if spark downloaded & installed ## How was this patch tested? manually by building package You can merge this pull request into a Git repository by running: $ git pull https://github.com/felixcheung/spark rinstalldir Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19657.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #19657 ---- commit d4433e13565e9e3d41928e1d2262696204476341 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-04T08:14:33Z add flag to cleanup ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org