lintr: Static R Code Analysis

Share:

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.

Author
Jim Hester [aut, cre]
Date of publication
2016-04-16 00:10:24
Maintainer
Jim Hester <james.f.hester@gmail.com>
License
MIT + file LICENSE
Version
1.0.0
URLs

View on CRAN

Man pages

clear_cache
Clear the lintr cache
default_linters
Default linters to use
default_settings
Default lintr settings
exclude
Exclude lines or files from linting
expect_lint
Lint expectation
expect_lint_free
Test that the package is lint free
get_source_expressions
Parsed sourced file from a filename
Lint
Create a 'Lint' object
linters
linters
lint_file
Lint a given file
lint_package
Lint a package
lintr
Lintr
parse_exclusions
read a source file and parse all the excluded lines from it
read_settings
Read lintr settings
with_defaults
Modify the list of default linters

Files in this package

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