From bd538a031e34fbec0dc5af2e576dd679f6836675 Mon Sep 17 00:00:00 2001 From: Nicolò Balzarotti Date: Wed, 11 Dec 2019 09:19:47 +0100 Subject: gnu: Add r-cyclocomp. * gnu/packages/cran.scm (r-cyclocomp): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index b3bde41d79..73626cb4d2 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") -- cgit v1.2.3