Skip to content

Commit

Permalink
fixed bad object reference in linting code
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Sep 29, 2019
1 parent b8cd181 commit 3a7ec88
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .ci/lint_r_code.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FILES_TO_LINT <- list.files(

# Some linters from the lintr package have not made it to CRAN yet
# We build lintr from source to address that.
linters_on_cran <- list(
LINTERS_TO_USE <- list(
"closed_curly" = lintr::closed_curly_linter
, "infix_spaces" = lintr::infix_spaces_linter
, "long_lines" = lintr::line_length_linter(length = 120)
Expand All @@ -30,11 +30,6 @@ linters_on_cran <- list(
, "trailing_white" = lintr::trailing_whitespace_linter
)

LINTERS_TO_USE <- c(
linters_on_cran
, github_only_linters
)

cat(sprintf("Found %i R files to lint\n", length(FILES_TO_LINT)))

results <- c()
Expand Down

0 comments on commit 3a7ec88

Please sign in to comment.