From e09d74ecd2727660d77680755a01d27ffb594a2d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 27 Apr 2018 18:40:50 +0200 Subject: gnu: Add r-codedepends. * gnu/packages/cran.scm (r-codedepends): New variable. --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index caa204e60a..bc95fd2aa4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3946,3 +3946,30 @@ if no cluster is present or wished. The package is also designed as connector to the cluster management tool @code{sfCluster}, but can also used without it.") (license license:gpl2+))) + +(define-public r-codedepends + (package + (name "r-codedepends") + (version "0.5-3") + (source + (origin + (method url-fetch) + (uri (cran-uri "CodeDepends" version)) + (sha256 + (base32 + "03p82s0abca2jimzqvxdzykfzca7c7fhm5xsjxybcksr4gggr5sc")))) + (properties `((upstream-name . "CodeDepends"))) + (build-system r-build-system) + (propagated-inputs + `(("r-codetools" ,r-codetools) + ("r-xml" ,r-xml))) + (home-page "http://cran.r-project.org/web/packages/CodeDepends") + (synopsis "Analysis of R code for reproducible research and code comprehension") + (description + "This package provides tools for analyzing R expressions or blocks of +code and determining the dependencies between them. It focuses on R scripts, +but can be used on the bodies of functions. There are many facilities +including the ability to summarize or get a high-level view of code, +determining dependencies between variables, code improvement suggestions.") + ;; Any version of the GPL + (license (list license:gpl2+ license:gpl3+)))) -- cgit v1.2.3