Another yaml test.

This commit is contained in:
Hylke Cornelis Donker 2019-12-12 17:50:27 +01:00
parent 8da696c514
commit 9b64bb65fa
1 changed files with 13 additions and 4 deletions

View File

@ -10,8 +10,17 @@ steps:
- export TAR="/bin/tar"
- 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))
)
)'