Skip to content
Snippets Groups Projects
Commit 7d117501 authored by Sun Rui's avatar Sun Rui Committed by Xiangrui Meng
Browse files

[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.sun@intel.com>

Closes #11913 from sun-rui/SPARK-14074.
parent 4d955cd6
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment