aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-04-27 18:40:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-04-28 01:02:43 +0200
commite09d74ecd2727660d77680755a01d27ffb594a2d (patch)
treeae0bda92bf98e8d8ee9d59727deaabe33232b1b6
parent4ffa0858755bc045d91863a785926c09678988eb (diff)
downloadpatches-e09d74ecd2727660d77680755a01d27ffb594a2d.tar
patches-e09d74ecd2727660d77680755a01d27ffb594a2d.tar.gz
gnu: Add r-codedepends.
* gnu/packages/cran.scm (r-codedepends): New variable.
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
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+))))