From 8b0d1c3cc334edd585696ef7883435a006d0acca Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Wed, 10 Nov 2021 14:45:06 +0100 Subject: [PATCH] More syntax fixes --- .github/workflows/r.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 619cc9c..5494192 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -100,6 +100,7 @@ jobs: - name: Linting package run: | install.packages("lintr") + library(lintr) style_rules <- list( assignment_linter, closed_curly_linter, commas_linter, todo_comment_linter, equals_na_linter, @@ -111,7 +112,7 @@ jobs: trailing_blank_lines_linter, trailing_whitespace_linter, undesirable_function_linter, undesirable_operator_linter ) # TODO: expand style rules as package matures - lintr::lint_package(linters = style_rules) + lint_package(linters = style_rules) shell: Rscript {0} # Uploading check results -------------------------------- #