[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add r-cyclocomp.
From: |
guix-commits |
Subject: |
01/02: gnu: Add r-cyclocomp. |
Date: |
Wed, 11 Dec 2019 06:11:28 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit bd538a031e34fbec0dc5af2e576dd679f6836675
Author: Nicolò Balzarotti <address@hidden>
Date: Wed Dec 11 09:19:47 2019 +0100
gnu: Add r-cyclocomp.
* gnu/packages/cran.scm (r-cyclocomp): New variable.
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b3bde41..73626cb 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14740,6 +14740,34 @@ regular expressions from human readable expressions")
@code{XPath}, and is 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, 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. This package
+provides tools to compute this metric.")
+ (license license:expat)))
+
(define-public r-sctransform
(package
(name "r-sctransform")