linters: with_defaults(line_length_linter(120))
exclusions: list("inst/doc/creating_linters.R" = 1, "inst/example/bad.R", "tests/testthat/exclusions-test")
space between right parenthesis and curly brace
is nice for if () {
but not so much for function(){}
as Rstudio diagnostics complains for ifs but not for functions
$ifelse
[1] "use an if () {} else {} block"
Is there a way to get custom output of lintr in R in the cmd ?
I know there exist a function that will give me the output in XML. I was wondering is it possible to change the output I get in cmd.
For e.g CMD output gives me:path/of/file:row:col:,essage-type:message
Can this be modified to:LINE:row:message-type:message
?
That is what I am asking.
I am using:
R - 3.6.3 - 32-bit
lintr - 2.0.1