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

# lint errors should be included in test-lint_package.R
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 Nov. 7, 2023, 5:07 p.m.