Closed Yuri05 closed 10 months ago
I did not figure yout yet what is the best way to call the R linter. At the moment I call it for the ospsuite.plots package like this:
library(lintr) library(ggplot2) library(ospsuite.utils) library(dplyr) lapply(list.files(pattern = "*.R", path = "R", full.names = TRUE), source) lintr::lint_dir(linters=linters_with_defaults(object_name_linter=NULL, line_length_linter=NULL, object_length_linter=NULL, brace_linter=NULL, paren_body_linter=NULL, trailing_whitespace_linter=NULL, trailing_blank_lines_linter=NULL, spaces_left_parentheses_linter=NULL, infix_spaces_linter=NULL, single_quotes_linter=NULL, vector_logic_linter=NULL))
I did not figure yout yet what is the best way to call the R linter. At the moment I call it for the ospsuite.plots package like this: