diff options
author | Fenner Macrae <13209544+fennerm@users.noreply.github.com> | 2018-02-05 09:54:15 -0800 |
---|---|---|
committer | Fenner Macrae <13209544+fennerm@users.noreply.github.com> | 2018-02-05 09:54:15 -0800 |
commit | 5dc884b24dff08e48287134f903b8ff5e93b33cb (patch) | |
tree | 8e1888a89f85c6bb579011453130ea921be8ff4f /test/command_callback/test_lintr_command_callback.vader | |
parent | dda132c1a2818390cafd674e5db0e3b6ce802965 (diff) | |
download | ale-5dc884b24dff08e48287134f903b8ff5e93b33cb.zip |
Fixed lintr::lint_package command
Diffstat (limited to 'test/command_callback/test_lintr_command_callback.vader')
-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('')) |