From 75377789959e61b479b24c2dd833c1f586468ea9 Mon Sep 17 00:00:00 2001 From: Hylke Cornelis Donker Date: Thu, 12 Dec 2019 17:54:18 +0100 Subject: [PATCH] Enhanced readibility. --- .drone.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 343e5c2..ced7ffa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,16 +11,13 @@ steps: - Rscript -e 'devtools::install_github("jimhester/lintr")' # Lint the document, printing output. - | - Rscript -e 'lintr::lint_dir( - path=".", - pattern=rex::rex(".", one_of("Rr"), maybe("md"), end) - )' + 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)) - ) + Rscript -e + 'quit(save="no", + status=length( + lintr::lint_dir(path=".", pattern=rex::rex(".", one_of("Rr"), maybe("md"), end))) )'