Open-Systems-Pharmacology / OSPSuite.Plots

Figures and dependent tables which are used by R packages in the Open Systems Pharmacology ecosystem
Other
2 stars 3 forks source link

linter warnings #7

Closed Yuri05 closed 10 months ago

Yuri05 commented 1 year 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))

grafik