Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert how to install lintr
  • Loading branch information
yu-iskw committed Aug 6, 2015
commit c981f83e1fa20222ce03095ef8d4a48ce876f328
5 changes: 2 additions & 3 deletions dev/lint-r.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ 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.
installed_packages <- row.names(installed.packages(lib.loc = LOCAL_LIB_LOC))
if ("lintr" %in% installed_packages == FALSE) {
devtools::with_lib(LOCAL_LIB_LOC, devtools::install_github("jimhester/lintr"))
if ("lintr" %in% row.names(installed.packages()) == FALSE) {
devtools::install_github("jimhester/lintr")
}

library(lintr)
Expand Down