Repository: spark Updated Branches: refs/heads/master 4d955cd69 -> 7d1175011
[SPARK-14074][SPARKR] Specify commit sha1 ID when using install_github to install intr package. ## What changes were proposed in this pull request? In dev/lint-r.R, `install_github` makes our builds depend on a unstable source. This may cause un-expected test failures and then build break. This PR adds a specified commit sha1 ID to `install_github` to get a stable source. ## How was this patch tested? dev/lint-r Author: Sun Rui <rui....@intel.com> Closes #11913 from sun-rui/SPARK-14074. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7d117501 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7d117501 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7d117501 Branch: refs/heads/master Commit: 7d1175011c976756efcd4e4e4f70a8fd6f287026 Parents: 4d955cd Author: Sun Rui <rui....@intel.com> Authored: Wed Mar 23 07:57:03 2016 -0700 Committer: Xiangrui Meng <m...@databricks.com> Committed: Wed Mar 23 07:57:03 2016 -0700 ---------------------------------------------------------------------- dev/lint-r.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/7d117501/dev/lint-r.R ---------------------------------------------------------------------- diff --git a/dev/lint-r.R b/dev/lint-r.R index 999eef5..87ee36d 100644 --- a/dev/lint-r.R +++ b/dev/lint-r.R @@ -27,7 +27,7 @@ if (! library(SparkR, lib.loc = LOCAL_LIB_LOC, logical.return = TRUE)) { # Installs lintr from Github in a local directory. # NOTE: The CRAN's version is too old to adapt to our rules. if ("lintr" %in% row.names(installed.packages()) == FALSE) { - devtools::install_github("jimhester/lintr") + devtools::install_github("jimhester/lintr@a769c0b") } library(lintr) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org