tests/testthat/dummy_packages/package/exec/script.R

# Each of the default linters should throw at least one lint for assignment_linter or object_name_linter on this file
x = 1:4
res <- lapply(x, function(y) y + 1)

Try the lintr package in your browser

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

lintr documentation built on April 12, 2025, 1:42 a.m.