unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 17/19] gnu: Add r-testthat.
@ 2015-09-13 16:55 Vicente Vera
  2015-09-15 17:46 ` Vicente Vera
  0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-09-13 16:55 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0017-gnu-Add-r-testthat.patch --]
[-- Type: text/x-patch, Size: 1503 bytes --]

From 362422f7bea0eba246b232edc8067e9a6c0fdbc4 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:28:06 -0300
Subject: [PATCH 17/19] gnu: Add r-testthat.

* gnu/packages/statistics.scm (r-testthat): New variable.
---
 gnu/packages/statistics.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a231cb8..b283bff 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -833,3 +833,24 @@ support is automatically detected. Colors and highlighting can be
 combined and nested. New styles can also be created easily. This
 package was inspired by the 'chalk' 'JavaScript' project.")
     (license license:expat)))
+
+(define-public r-testthat
+  (package
+    (name "r-testthat")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/testthat_"
+                                  version ".tar.gz"))
+              (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
+     "A unit testing system designed to be fun, flexible and easy to
+set up.")
+    (license license:expat)))
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 17/19] gnu: Add r-testthat.
  2015-09-13 16:55 [PATCH 17/19] gnu: Add r-testthat Vicente Vera
@ 2015-09-15 17:46 ` Vicente Vera
  0 siblings, 0 replies; 2+ messages in thread
From: Vicente Vera @ 2015-09-15 17:46 UTC (permalink / raw)
  To: guix-devel, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Updated patch attached.

2015-09-13 13:55 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>

[-- Attachment #2: 0017-gnu-Add-r-testthat.patch --]
[-- Type: text/x-patch, Size: 1548 bytes --]

From 3be96f6cf9758dc701647c19f2e6f16a8a23f98f Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:24:17 -0300
Subject: [PATCH 17/19] gnu: Add r-testthat.

* gnu/packages/statistics.scm (r-testthat): New variable.
---
 gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 78f6383..b72c4ad 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -877,3 +877,27 @@ automatically detected.  Colors and highlighting can be combined and nested.
 New styles can also be created easily.  This package was inspired by the
 \"chalk\" JavaScript project.")
     (license license:expat)))
+
+(define-public r-testthat
+  (package
+    (name "r-testthat")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/testthat_"
+                                  version ".tar.gz"))
+              (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 designed to be fun, flexible
+and easy to set up.")
+    (license license:expat)))
-- 
2.5.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-15 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 16:55 [PATCH 17/19] gnu: Add r-testthat Vicente Vera
2015-09-15 17:46 ` Vicente Vera

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).