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))) )'