gnu: Add r-withr.

* gnu/packages/statistics.scm (r-withr): New variable.
This commit is contained in:
Roel Janssen 2016-03-29 14:30:38 +02:00 committed by Ricardo Wurmus
parent f315f4fcab
commit a080e50c15

View file

@ -1260,6 +1260,25 @@ (define-public r-devtools
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")