GitHub user felixcheung reopened 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 Jenkins, AppVeyor 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 commit 0ea7c9b1c26c604296c35bc1588a6a5606a10cb2 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-05T03:21:26Z no get0 commit d0064ca24339143aeac9f1ef78b924361f908248 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T10:27:13Z make into function commit 31f3bd06cc7d2b7bf482eddfe2f2738244cfbca7 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T10:50:55Z fix lint commit ca5349bfc0dae03c2402b104e51c78a841541b09 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T10:55:27Z comment commit f2aa5b7e12ed36e7b56610e695615260643f952f Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T17:31:16Z fix windows commit 90d36c9ee3b0aed60ac9343e05b44366d1d2bf43 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T17:38:12Z more test commit f21a90bef2a08c9d4cfdcc6588fb2da64679b4ec Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-07T17:39:05Z fix commit 18e238a62d53de5a73283a741c1a9bb8230f4484 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2017-11-08T04:54:53Z fix 2 ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org