Skip to content

Commit d19efaa

Browse files
jtoloemmaechler
authored andcommitted
Ensure a compatible version of lintr is installed
1 parent 3a634c3 commit d19efaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lisp/ess-r-flymake.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ each element is passed as argument to `lintr::linters_with_defaults'."
8585
if (!suppressWarnings(require(lintr, quietly=T))) {
8686
cat('@@error: @@`lintr` package not installed')
8787
} else {
88-
if (packageVersion('lintr') <= '1.0.3') {
89-
cat('@@error: @@Need `lintr` version > v1.0.3')
88+
if (packageVersion('lintr') <= '3.0.0') {
89+
cat('@@error: @@Need `lintr` version > v3.0.0')
9090
} else {
9191
tryCatch(lintr::lint(commandArgs(TRUE), ...),
9292
error = function(e) {

0 commit comments

Comments
 (0)