From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59506) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iexfC-0007P9-Ld for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iexf9-0004o8-Jl for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iexf8-0004n0-VT for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iexf8-0003XE-UY for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:02 -0500 Subject: [bug#34697] [PATCH 3/3] gnu: Add r-lintr. References: <20190301080758.5548-3-anothersms@gmail.com> Resent-Message-ID: From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: <87y35qtqkc.fsf@elephly.net> Date: Wed, 11 Dec 2019 09:19:47 +0100 Message-ID: <8736drmeog.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 34697@debbugs.gnu.org * gnu/packages/cran.scm (r-lintr): New variable. --- gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 9ff1dd3104..07432c2785 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14747,6 +14747,40 @@ number of linearly independent paths through a program's source code. It was developed by @cite{Thomas J. McCabe, Sr. in 1976}.") (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 "Checks adherence to a given style, syntax errors and +possible semantic issues. 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") -- 2.24.0