Hi all -- for compatibility with the Google R style guide, I would prefer to have different formats for my functions (CamelCase) and my global variables (UPPER_SNAKE_CASE) than for my local variables (snake_case). Right now object_name_linter() in lintr 3.1.2 doesn't seem to distinguish between any of these use cases.
Are there any custom linter functions out there that can handle this distinction and spare me from having to write my own?
simple reprex:
PI_TIMES_TWO <- 6.283185
Circumference <- function(r) {
output <- PI_TIMES_TWO*r
return(output)
}
Circumference(10)