unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Wiktor Żelazny" <wz@freeshell.de>
To: 37392@debbugs.gnu.org
Subject: [bug#37392] [PATCH] gnu: Add r-assertr
Date: Thu, 12 Sep 2019 18:44:57 +0200	[thread overview]
Message-ID: <20190912164457.28412-1-wz@freeshell.de> (raw)

From: Wiktor Żelazny <wzelazny@vurv.cz>

* gnu/packages/cran.scm (r-assertr): New variable
---
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6ef2066429..ddaffb6b6d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@posteo.net>
 ;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
+;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -15365,3 +15366,29 @@ common graph algorithms.")
 removing cell free mRNA contamination (the \"soup\") from droplet based single
 cell RNA-seq experiments.")
       (license license:gpl2))))
+
+(define-public r-assertr
+  (package
+    (name "r-assertr")
+    (version "2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "assertr" version))
+       (sha256
+        (base32
+         "0g4ii6vhp0155a29ljhs64a09x0nzy5ybvwwchhk4mkcgsvnvfkj"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-knitr" ,r-knitr)             ; needed for vignette
+       ("r-mass" ,r-mass)
+       ("r-rlang" ,r-rlang)))
+    (home-page "https://github.com/ropensci/assertr")
+    (synopsis "Assertive Programming for R Analysis Pipelines")
+    (description
+     "Provides functionality to assert conditions that have to be met so that
+errors in data used in analysis pipelines can fail quickly.  Similar to
+@code{stopifnot()} but more powerful, friendly, and easier for use in
+pipelines.")
+    (license (license:fsf-free "https://cran.r-project.org/web/licenses/MIT"))))
-- 
2.22.0

             reply	other threads:[~2019-09-12 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 16:44 Wiktor Żelazny [this message]
2019-09-12 23:09 ` bug#37392: [PATCH] gnu: Add r-assertr 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=20190912164457.28412-1-wz@freeshell.de \
    --to=wz@freeshell.de \
    --cc=37392@debbugs.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).