gnu: Add r-testthat.

* gnu/packages/statistics.scm (r-testthat): New variable.
This commit is contained in:
Vicente Vera Parra 2015-09-15 14:24:17 -03:00 committed by Ricardo Wurmus
parent 834f7ff3c0
commit 5b9789a6ff

View file

@ -812,3 +812,24 @@ (define-public r-crayon
New styles can also be created easily. This package was inspired by the New styles can also be created easily. This package was inspired by the
\"chalk\" JavaScript project.") \"chalk\" JavaScript project.")
(license license:expat))) (license license:expat)))
(define-public r-testthat
(package
(name "r-testthat")
(version "0.10.0")
(source (origin
(method url-fetch)
(uri (cran-uri "testthat" version))
(sha256
(base32
"0b3akwcx5mv9dmi8vssbk91hr3yrrdxd2fm6zhr31fnyz8kjx4pw"))))
(build-system r-build-system)
(propagated-inputs
`(("r-digest" ,r-digest)
("r-crayon" ,r-crayon)))
(home-page "https://github.com/hadley/testthat")
(synopsis "Unit testing for R")
(description
"This package provides a unit testing system for R designed to be fun,
flexible and easy to set up.")
(license license:expat)))