guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/10: gnu: Add r-withr.


From: Ricardo Wurmus
Subject: 09/10: gnu: Add r-withr.
Date: Wed, 30 Mar 2016 10:03:02 +0000

rekado pushed a commit to branch master
in repository guix.

commit a080e50c153d3f72370e140eaf589d448867bf41
Author: Roel Janssen <address@hidden>
Date:   Tue Mar 29 14:30:38 2016 +0200

    gnu: Add r-withr.
    
    * gnu/packages/statistics.scm (r-withr): New variable.
---
 gnu/packages/statistics.scm |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 15c6823..28ac967 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1260,6 +1260,25 @@ informative error messages when it's not available.")
 tools to simplify the devolpment of R packages.")
     (license license:gpl2+)))
 
+(define-public r-withr
+  (package
+    (name "r-withr")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "withr" version))
+              (sha256
+               (base32
+                "0zbj3rd7dc0ycknmay7y7rm1qvnh9n05jw93gjggz46j2zfmy93y"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/jimhester/withr";)
+    (synopsis "Run code with temporarily modified global state")
+    (description
+     "This package provides a set of functions to run R code in an environment
+in which global state has been temporarily modified.  Many of these functions
+were originally a part of the r-devtools package.")
+    (license license:gpl2+)))
+
 (define-public r-readr
   (package
     (name "r-readr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]