@@ -10726,3 +10726,34 @@ using @code{S3}.")
(description
"This package provides a friendly interface for the construction of regular expressions.")
(license license:expat)))
+
+(define-public r-lintr
+ (package
+ (name "r-lintr")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "lintr" version))
+ (sha256
+ (base32
+ "0vlsgq13g2ddv3wqcxaaf7yki9yjj3j1agkh91vqlvbi90i6s8mx"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-codetools" ,r-codetools)
+ ("r-crayon" ,r-crayon)
+ ("r-digest" ,r-digest)
+ ("r-httr" ,r-httr)
+ ("r-igraph" ,r-igraph)
+ ("r-jsonlite" ,r-jsonlite)
+ ("r-knitr" ,r-knitr)
+ ("r-rex" ,r-rex)
+ ("r-rstudioapi" ,r-rstudioapi)
+ ("r-stringdist" ,r-stringdist)
+ ("r-testthat" ,r-testthat)))
+ (home-page "https://github.com/jimhester/lintr")
+ (synopsis "A 'Linter' for R Code")
+ (description
+ "Checks adherence to a given style, syntax errors and possible semantic issues. Supports on the fly checking of R code edited with 'RStudio IDE', 'Emacs', 'Vim', 'Sublime Text' and 'Atom'.")
+ (license license:expat)))
+