From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdJ8-00083w-62 for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdJ6-0005LZ-Oo for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzdJ4-0005Ii-Iu for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzdJ1-0001dO-Jd for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:07 -0500 Subject: [bug#34697] [PATCH] gnu: add r-lintr. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:52003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdIH-0007a2-6h for guix-patches@gnu.org; Fri, 01 Mar 2019 03:13:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdDb-0006hP-QC for guix-patches@gnu.org; Fri, 01 Mar 2019 03:08:33 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:35995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzdDb-0006gQ-G8 for guix-patches@gnu.org; Fri, 01 Mar 2019 03:08:31 -0500 Received: by mail-wm1-x333.google.com with SMTP id j125so11322975wmj.1 for ; Fri, 01 Mar 2019 00:08:31 -0800 (PST) Received: from lenovo.iit.local ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id a9sm4181699wmm.10.2019.03.01.00.08.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 00:08:29 -0800 (PST) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Fri, 1 Mar 2019 09:07:53 +0100 Message-Id: <20190301080758.5548-3-anothersms@gmail.com> In-Reply-To: <20190301080758.5548-1-anothersms@gmail.com> References: <20190301080758.5548-1-anothersms@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 34697@debbugs.gnu.org --- gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index f3bd3ded8d..a9b775f67e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -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))) + -- 2.20.1