diff options
author | Stefan Siegel <ssiegel@sdas.net> | 2018-06-07 15:06:09 +0200 |
---|---|---|
committer | Stefan Siegel <ssiegel@sdas.net> | 2018-06-07 15:06:09 +0200 |
commit | 252097bee0966cd1136be66d87b9a8b723a9758e (patch) | |
tree | cc1797bb6dd62f924a44c70bc140e03f95f193ee /ale_linters/r | |
parent | 10a9177b6b211173660e09ffdbc476532640f398 (diff) | |
download | ale-252097bee0966cd1136be66d87b9a8b723a9758e.zip |
Use --vanilla switch for Rscript
This prevents possibly bad interference with the user's R environment,
e.g. by an auto-activating packrat.
Diffstat (limited to 'ale_linters/r')
-rw-r--r-- | ale_linters/r/lintr.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/r/lintr.vim b/ale_linters/r/lintr.vim index 51e5c562..8f74c9b8 100644 --- a/ale_linters/r/lintr.vim +++ b/ale_linters/r/lintr.vim @@ -22,7 +22,7 @@ function! ale_linters#r#lintr#GetCommand(buffer) abort \ . l:lint_cmd return ale#path#BufferCdString(a:buffer) - \ . 'Rscript -e ' + \ . 'Rscript --vanilla -e ' \ . ale#Escape(l:cmd_string) . ' %t' endfunction |