Skip to content

Commit 7d11750

Browse files
Sun Ruimengxr
authored andcommitted
[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 <[email protected]> Closes #11913 from sun-rui/SPARK-14074.
1 parent 4d955cd commit 7d11750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/lint-r.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (! library(SparkR, lib.loc = LOCAL_LIB_LOC, logical.return = TRUE)) {
2727
# Installs lintr from Github in a local directory.
2828
# NOTE: The CRAN's version is too old to adapt to our rules.
2929
if ("lintr" %in% row.names(installed.packages()) == FALSE) {
30-
devtools::install_github("jimhester/lintr")
30+
devtools::install_github("jimhester/lintr@a769c0b")
3131
}
3232

3333
library(lintr)

0 commit comments

Comments
 (0)