diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-02-06 09:46:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 09:46:22 +0000 |
commit | a3329ef3fc44a04a2617941eb46deef6c184f4af (patch) | |
tree | a3f8b5e53f5405002ae53e3fe8477e8631cca136 /test/command_callback | |
parent | 91b7a75afb250eedbdaf88411fad084ce85bd13b (diff) | |
parent | c2ab8853849d1fc64d448d6e65920c988ca9c0fa (diff) | |
download | ale-a3329ef3fc44a04a2617941eb46deef6c184f4af.zip |
Merge pull request #1333 from fennerm/master
Fix the lintr::lint_package command
Diffstat (limited to 'test/command_callback')
-rw-r--r-- | test/command_callback/test_lintr_command_callback.vader | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command_callback/test_lintr_command_callback.vader b/test/command_callback/test_lintr_command_callback.vader index 33259e05..e655328b 100644 --- a/test/command_callback/test_lintr_command_callback.vader +++ b/test/command_callback/test_lintr_command_callback.vader @@ -18,7 +18,7 @@ Execute(The default lintr command should be correct): \ 'cd ' . ale#Escape(getcwd()) . ' && ' \ . 'Rscript -e ' \ . ale#Escape('suppressPackageStartupMessages(library(lintr));' - \ . 'lint(cache = FALSE, commandArgs(TRUE),' + \ . 'lint(cache = FALSE, commandArgs(TRUE), ' \ . 'with_defaults())') \ . ' %t', \ ale_linters#r#lintr#GetCommand(bufnr('')) @@ -30,7 +30,7 @@ Execute(The lintr options should be configurable): \ 'cd ' . ale#Escape(getcwd()) . ' && ' \ . 'Rscript -e ' \ . ale#Escape('suppressPackageStartupMessages(library(lintr));' - \ . 'lint(cache = FALSE, commandArgs(TRUE),' + \ . 'lint(cache = FALSE, commandArgs(TRUE), ' \ . 'with_defaults(object_usage_linter = NULL))') \ . ' %t', \ ale_linters#r#lintr#GetCommand(bufnr('')) @@ -42,7 +42,7 @@ Execute(If the lint_package flag is set, lintr::lint_package should be called): \ 'cd ' . ale#Escape(getcwd()) . ' && ' \ . 'Rscript -e ' \ . ale#Escape('suppressPackageStartupMessages(library(lintr));' - \ . 'lint_package(cache = FALSE, commandArgs(TRUE),' - \ . 'with_defaults())') + \ . 'lint_package(cache = FALSE, ' + \ . 'linters = with_defaults())') \ . ' %t', \ ale_linters#r#lintr#GetCommand(bufnr('')) |