aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-28 16:11:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-28 16:27:33 +0100
commit2b106a8d71c90df54e94ec5356e0aebcc5245416 (patch)
tree8b845895c37ed0a9994b914d938c3e7b2ee04319 /gnu/packages/cran.scm
parentf20f1681214950621c373594b75aa3f425542a54 (diff)
downloadguix-2b106a8d71c90df54e94ec5356e0aebcc5245416.tar
guix-2b106a8d71c90df54e94ec5356e0aebcc5245416.tar.gz
gnu: Add r-sys.
* gnu/packages/cran.scm (r-sys): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1bd20b12d3..76314ffd38 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -83,6 +83,31 @@
the system clipboards.")
(license license:gpl3)))
+(define-public r-sys
+ (package
+ (name "r-sys")
+ (version "2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "sys" version))
+ (sha256
+ (base32
+ "10ml2492bdllh6cz2zl192ip0fdgjkkgayggd3ghswsj5gjv5hrh"))))
+ (build-system r-build-system)
+ (home-page "https://github.com/jeroen/sys")
+ (synopsis "Powerful and reliable tools for running system commands in R")
+ (description
+ "This package provides drop-in replacements for the base @code{system2()}
+function with fine control and consistent behavior across platforms. It
+supports clean interruption, timeout, background tasks, and streaming STDIN /
+STDOUT / STDERR over binary or text connections. The package also provides
+functions for evaluating expressions inside a temporary fork. Such
+evaluations have no side effects on the main R process, and support reliable
+interrupts and timeouts. This provides the basis for a sandboxing
+mechanism.")
+ (license license:expat)))
+
(define-public r-vegan
(package
(name "r-vegan")