annotate run_r_linter.R @ 27:2e35f925c469 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
author eschen42
date Thu, 27 Oct 2022 18:54:25 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
1 #!/bin/env Rscript
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
2 library(lintr)
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
3 linters <- linters_with_defaults(
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
4 line_length_linter = NULL,
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
5 cyclocomp_linter = NULL,
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
6 object_usage_linter = NULL
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
7 )
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
8 cat("linting MaxQuantProcessingScript.R\n")
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
9 lint(filename = "MaxQuantProcessingScript.R", linters = linters)
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
10 cat("linting mqppep_anova.R\n")
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
11 lint(filename = "mqppep_anova.R", linters = linters)
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
12 cat("done linting R scripts\n")
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
13 cat("linting mqppep_anova_script.Rmd\n")
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
14 lint(filename = "mqppep_anova_script.Rmd", linters = linters)
2e35f925c469 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mqppep commit be6750cb1d7ae18e71b60ae6f2c55e5331105c4f
eschen42
parents:
diff changeset
15 cat("done linting Rmd scripts\n")