Skip to content

Commit

Permalink
[SPARK-14074][SPARKR] Specify commit sha1 ID when using install_githu…
Browse files Browse the repository at this point in the history
…b 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 <[email protected]>

Closes #11913 from sun-rui/SPARK-14074.
  • Loading branch information
Sun Rui authored and mengxr committed Mar 23, 2016
1 parent 4d955cd commit 7d11750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/lint-r.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d11750

Please sign in to comment.