From 8da696c51437e68cef2176564534977a9f26c0ab Mon Sep 17 00:00:00 2001 From: Hylke Cornelis Donker Date: Thu, 12 Dec 2019 17:46:56 +0100 Subject: [PATCH] No with output. --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2f69c8c..0e61c03 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,4 +9,9 @@ steps: commands: - export TAR="/bin/tar" - Rscript -e 'devtools::install_github("jimhester/lintr")' - - Rscript -e 'quit(save="no", status=length(lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"), maybe("md"), end))))' + # Lint the document, printing output. + - Rscript -e 'lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"), + maybe("md"), end))' + # Return non-zero exit code (no output is printed). + - Rscript -e 'quit(save="no", status=length(lintr::lint_dir(path=".", + pattern=rex::rex(".", one_of("Rr"), maybe("md"), end))))'