aboutsummaryrefslogtreecommitdiff
path: root/dev/lint-r.R
diff options
context:
space:
mode:
authorSun Rui <rui.sun@intel.com>2016-03-23 07:57:03 -0700
committerXiangrui Meng <meng@databricks.com>2016-03-23 07:57:03 -0700
commit7d1175011c976756efcd4e4e4f70a8fd6f287026 (patch)
treefcc9ba396b46cea6ebd1b6b319684a762653b854 /dev/lint-r.R
parent4d955cd69452e34f74369e62bc741a5c749905a8 (diff)
downloadspark-7d1175011c976756efcd4e4e4f70a8fd6f287026.tar.gz
spark-7d1175011c976756efcd4e4e4f70a8fd6f287026.tar.bz2
spark-7d1175011c976756efcd4e4e4f70a8fd6f287026.zip
[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.
Diffstat (limited to 'dev/lint-r.R')
-rw-r--r--dev/lint-r.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lint-r.R b/dev/lint-r.R
index 999eef571b..87ee36d5c9 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)