diff options
author | Nicolò Balzarotti <anothersms@gmail.com> | 2019-12-11 09:19:47 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-11 12:10:15 +0100 |
commit | 6c3021a84006924d924d282f22aa1f338d4b3528 (patch) | |
tree | 2d1a40f645f3defdb7de08806473d3df4d300df2 /gnu | |
parent | bd538a031e34fbec0dc5af2e576dd679f6836675 (diff) | |
download | guix-patches-6c3021a84006924d924d282f22aa1f338d4b3528.tar guix-patches-6c3021a84006924d924d282f22aa1f338d4b3528.tar.gz |
gnu: Add r-lintr.
* gnu/packages/cran.scm (r-lintr): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/cran.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 73626cb4d2..ad8c6ebe67 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14768,6 +14768,40 @@ linearly independent paths through a program's source code. This package provides tools to compute this metric.") (license license:expat))) +(define-public r-lintr + (package + (name "r-lintr") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "lintr" version)) + (sha256 + (base32 + "09gbci4v5n4gsfzminly8332fw7faxdi1kkyvpa10dydx02sjcwb")))) + (properties `((upstream-name . "lintr"))) + (build-system r-build-system) + (propagated-inputs + `(("r-codetools" ,r-codetools) + ("r-crayon" ,r-crayon) + ("r-cyclocomp" ,r-cyclocomp) + ("r-digest" ,r-digest) + ("r-httr" ,r-httr) + ("r-jsonlite" ,r-jsonlite) + ("r-knitr" ,r-knitr) + ("r-rex" ,r-rex) + ("r-rstudioapi" ,r-rstudioapi) + ("r-stringdist" ,r-stringdist) + ("r-testthat" ,r-testthat) + ("r-xml2" ,r-xml2) + ("r-xmlparsedata" ,r-xmlparsedata))) + (home-page "https://github.com/jimhester/lintr") + (synopsis "Linter for R code") + (description "This package checks adherence to a given style, syntax +errors and possible semantic issues. It supports on the fly checking of R +code edited with @code{RStudio IDE}, @code{Emacs} and @code{Vim}.") + (license license:expat))) + (define-public r-sctransform (package (name "r-sctransform") |