lintr: Static R Code Analysis

Checks adherence to a given style, syntax errors and possible semantic issues. Supports on the fly checking of R code edited with Emacs, Vim and Sublime Text.

Install the latest version of this package by entering the following in R:
install.packages("lintr")
AuthorJim Hester [aut, cre]
Date of publication2016-04-16 00:10:24
MaintainerJim Hester <james.f.hester@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
https://github.com/jimhester/lintr

View on CRAN

Functions

absolute_paths_linter Man page
assignment_linter Man page
camel_case_linter Man page
clear_cache Man page
closed_curly_linter Man page
commas_linter Man page
commented_code_linter Man page
default_linters Man page
default_settings Man page
exclude Man page
expect_lint Man page
expect_lint_free Man page
get_source_expressions Man page
infix_spaces_linter Man page
line_length_linter Man page
lint Man page
Lint Man page
linters Man page
lint_file Man page
lint_package Man page
lintr Man page
multiple_dots_linter Man page
no_tab_linter Man page
object_length_linter Man page
object_usage_linter Man page
open_curly_linter Man page
parse_exclusions Man page
read_settings Man page
single_quotes_linter Man page
snake_case_linter Man page
spaces_inside_linter Man page
spaces_left_parentheses_linter Man page
trailing_blank_lines_linter Man page
trailing_whitespace_linter Man page
with_defaults Man page

Files

inst
inst/syntastic
inst/syntastic/lintr.vim
inst/example
inst/example/bad.R
inst/doc
inst/doc/creating_linters.html
inst/doc/creating_linters.Rmd
tests
tests/testthat.Rout
tests/testthat.R
tests/testthat
tests/testthat/test-comments.R tests/testthat/test-trailing_blank_lines_linter.R tests/testthat/test-exclusions.R tests/testthat/test-spaces_left_parentheses_linter.R tests/testthat/test-single_quotes_linter.R tests/testthat/test-no_tab_linter.R tests/testthat/test-knitr_formats.R
tests/testthat/knitr_formats
tests/testthat/knitr_formats/test.Rtex
tests/testthat/knitr_formats/test.Rnw
tests/testthat/knitr_formats/test.Rrst
tests/testthat/knitr_formats/test.Rmd
tests/testthat/knitr_formats/test.Rhtml
tests/testthat/knitr_formats/test.Rtxt
tests/testthat/test-assignment_linter.R tests/testthat/test-infix_spaces_linter.R tests/testthat/test-cache.R tests/testthat/test-closed_curly_linter.R tests/testthat/test-object_snake_case_linter.R tests/testthat/test-open_curly_linter.R tests/testthat/test-spaces_inside_linter.R tests/testthat/test-error.R tests/testthat/test-absolute_paths_linter.R tests/testthat/test-object_length_linter.R tests/testthat/test-multiple_dots_linter.R tests/testthat/test-commented_code_linter.R tests/testthat/test-commas_linter.R tests/testthat/test-trailing_whitespace_linter.R tests/testthat/test-rstudio_markers.R
tests/testthat/exclusions-test
tests/testthat/test-line_length_linter.R tests/testthat/test-settings.R tests/testthat/test-object_camel_case_linter.R tests/testthat/test-methods.R tests/testthat/test-object_usage_linter.R
NAMESPACE
NEWS.md
R
R/infix_spaces_linter.R R/utils.R R/aaa.R R/commas_linter.R R/get_source_expressions.R R/spaces_left_parentheses_linter.R R/absolute_paths_linter.R R/objects_linter.R R/comments.R R/trailing_blank_lines_linter.R R/open_curly_linter.R R/methods.R R/cache.R R/settings.R R/object_usage_linter.R R/commented_code_linter.R R/line_length_linter.R R/tree-utils.R R/spaces_inside_linter.R R/expect_lint.R R/extract.R R/no_tab_linter.R R/exclude.R R/trailing_whitespace_linter.R R/assignment_linter.R R/zzz.R R/closed_curly_linter.R R/lint.R R/single_quotes_linter.R
vignettes
vignettes/creating_linters.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/lint_file.Rd man/exclude.Rd man/parse_exclusions.Rd man/default_settings.Rd man/get_source_expressions.Rd man/lintr.Rd man/clear_cache.Rd man/with_defaults.Rd man/Lint.Rd man/expect_lint_free.Rd man/read_settings.Rd man/expect_lint.Rd man/lint_package.Rd man/linters.Rd man/default_linters.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.