unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 01/19] gnu: Add r-assertthat.
Date: Sun, 13 Sep 2015 13:43:39 -0300	[thread overview]
Message-ID: <CAMfbzvBt8NUDmEF=krz+Kx2k=vZ3GLEJF+VZ7v+pbzUPcDHsrg@mail.gmail.com> (raw)

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



[-- Attachment #2: 0001-gnu-Add-r-assertthat.patch --]
[-- Type: text/x-patch, Size: 1572 bytes --]

From 3c84aed40d729a2de02e891fa43c1000cec6d602 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:03:01 -0300
Subject: [PATCH 01/19] gnu: Add r-assertthat.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 29cd34a..9063496 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -498,3 +498,23 @@ by step from multiple data sources.  It also implements a sophisticated
 multidimensional conditioning system and a consistent interface to map data to
 aesthetic attributes.")
     (license license:gpl2+)))
+
+(define-public r-assertthat
+  (package
+    (name "r-assertthat")
+    (version "0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/assertthat_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32 "0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk"))))
+    (build-system r-build-system)
+    (home-page "https://github.com/hadley/assertthat")
+    (synopsis "Easy pre and post assertions")
+    (description
+     "Assertthat is an extension to stopifnot() that makes it easy to
+declare the pre and post conditions that you code should satisfy,
+while also producing friendly error messages so that your users know
+what they've done wrong.")
+    (license license:gpl3+)))
-- 
2.5.1


             reply	other threads:[~2015-09-13 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 16:43 Vicente Vera [this message]
2015-09-13 20:04 ` [PATCH 01/19] gnu: Add r-assertthat Ricardo Wurmus
2015-09-13 20:08   ` Thompson, David
2015-09-13 20:25     ` Ricardo Wurmus
2015-09-13 22:20   ` Vicente Vera
2015-09-15 17:32     ` Vicente Vera
2015-09-15 19:10       ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMfbzvBt8NUDmEF=krz+Kx2k=vZ3GLEJF+VZ7v+pbzUPcDHsrg@mail.gmail.com' \
    --to=vicentemvp@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).