Compare commits

...

2 Commits

Author SHA1 Message Date
Hylke Cornelis Donker
0dcd6ac858 Merge branch 'feature/drone-pipeline'
Some checks failed
continuous-integration/drone/push Build is failing
2019-12-12 18:00:15 +01:00
Hylke Cornelis Donker
d28fafef27 Another try of drone 2019-12-12 18:00:01 +01:00

View File

@ -4,9 +4,21 @@ type: docker
name: default name: default
steps: steps:
- name: lintr - name: lintr
image: jupyter/datascience-notebook image: jupyter/datascience-notebook
commands: commands:
- Rscript -e 'devtools::install_github("jimhester/lintr")' - export TAR="/bin/tar"
- Rscript -e 'lintr::lint_package()' - 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)
)'
# 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))
)
)'