This commit is contained in:
parent
9b64bb65fa
commit
7537778995
17
.drone.yml
17
.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)))
|
||||
)'
|
||||
|
Loading…
Reference in New Issue
Block a user