From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:59514) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iexfC-0007PA-Lx 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-0004oD-K4 for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iexf8-0004mr-Ip 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-0003X7-Hm for guix-patches@gnu.org; Wed, 11 Dec 2019 03:48:02 -0500 Subject: [bug#34697] [PATCH 2/3] gnu: Add r-cyclocomp. 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: <874ky7mep5.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-cyclocomp): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 0a878dc340..9ff1dd3104 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -14718,6 +14718,35 @@ tree, that one can search via @code{XPath}, and easier to manipulate in general.") (license license:expat))) +(define-public r-cyclocomp + (package + (name "r-cyclocomp") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "cyclocomp" version)) + (sha256 + (base32 + "0gky3svk02wiajw7nfjh30684h3qxili4bvsab0m7b6cggw6bgyd")))) + (properties `((upstream-name . "cyclocomp"))) + (build-system r-build-system) + (propagated-inputs + `(("r-callr" ,r-callr) + ("r-crayon" ,r-crayon) + ("r-desc" ,r-desc) + ("r-remotes" ,r-remotes) + ("r-withr" ,r-withr))) + (home-page + "https://github.com/MangoTheCat/cyclocomp") + (synopsis "Cyclomatic Complexity of R Code") + (description + "Cyclomatic complexity is a software metric (measurement), used to +indicate the complexity of a program. It is a quantitative measure of the +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-sctransform (package (name "r-sctransform") -- 2.24.0