tests/testthat/dummy_packages/clean_subdir/r/R/default_linter_testcode.R

f <- function(x, y = 1) x + y
message("hello")
y <- 2 + (1:10)

Try the lintr package in your browser

Any scripts or data that you put into this service are public.

lintr documentation built on Nov. 7, 2023, 5:07 p.m.