summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2019-02-15 15:42:19 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-02-15 16:04:29 +0100
commit226294a4ade8b287bd6582cf594cc9cb62a6bfde (patch)
tree3d076ef300b3945510fceda7988e8b7d1161b3e5 /gnu/packages/cran.scm
parentcf4cd8bcdf859897c694b0819b83ebdc6705add0 (diff)
downloadpatches-226294a4ade8b287bd6582cf594cc9cb62a6bfde.tar
patches-226294a4ade8b287bd6582cf594cc9cb62a6bfde.tar.gz
gnu: Add r-globals.
* gnu/packages/cran.scm (r-globals): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a4a45dccac..fbde319857 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -10534,3 +10534,27 @@ environments that have list-like properties. For instance, the elements of a
list environment are ordered and can be accessed and iterated over using index
subsetting.")
(license license:lgpl2.1+)))
+
+(define-public r-globals
+ (package
+ (name "r-globals")
+ (version "0.12.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "globals" version))
+ (sha256
+ (base32
+ "0szyv1ayyk31bh3xqlkj43020w44xq6s4rw2bxwizyjssxm3b1br"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-codetools" ,r-codetools)))
+ (home-page "https://github.com/HenrikBengtsson/globals")
+ (synopsis "Identify global objects in R expressions")
+ (description
+ "This package provides tools to identify global (\"unknown\" or \"free\")
+objects in R expressions by code inspection using various strategies, e.g.
+conservative or liberal. The objective of this package is to make it as
+simple as possible to identify global objects for the purpose of exporting
+them in distributed compute environments.")
+ (license license:lgpl2.1+)))