From patchwork Thu Sep 12 16:44:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 15358 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E20B2173C1; Thu, 12 Sep 2019 20:47:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 92DEB17317 for ; Thu, 12 Sep 2019 20:47:51 +0100 (BST) Received: from localhost ([::1]:38032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8V4I-0004PM-9b for patchwork@mira.cbaines.net; Thu, 12 Sep 2019 15:47:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35474) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8SN5-0007kE-Om for guix-patches@gnu.org; Thu, 12 Sep 2019 12:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8SN4-0001Xh-Jg for guix-patches@gnu.org; Thu, 12 Sep 2019 12:55:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8SN4-0001X5-6c for guix-patches@gnu.org; Thu, 12 Sep 2019 12:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8SN4-0000Od-3s for guix-patches@gnu.org; Thu, 12 Sep 2019 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37392] [PATCH] gnu: Add r-assertr Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Sep 2019 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37392 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37392@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15683072601460 (code B ref -1); Thu, 12 Sep 2019 16:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Sep 2019 16:54:20 +0000 Received: from localhost ([127.0.0.1]:44054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8SMO-0000NT-2A for submit@debbugs.gnu.org; Thu, 12 Sep 2019 12:54:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:32859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8SFZ-0000Cc-Mt for submit@debbugs.gnu.org; Thu, 12 Sep 2019 12:47:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60550) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8SFY-0005Ph-6t for guix-patches@gnu.org; Thu, 12 Sep 2019 12:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8SFW-0005Dg-V8 for guix-patches@gnu.org; Thu, 12 Sep 2019 12:47:16 -0400 Received: from freeshell.de ([2a01:360:106::2]:55286) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i8SFW-0005Bg-HO for guix-patches@gnu.org; Thu, 12 Sep 2019 12:47:14 -0400 From: Wiktor =?utf-8?q?=C5=BBelazny?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 2F8B235CC2FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1568306827; bh=zix60weaCy+asLySRkIJDwL3P3yiRsu9dhXZcuIPd7Y=; h=From:To:Subject:Date; b=nwTotmz0EKRC3JvVuVUYiZxtKG8sw7toiXxLHLGP9zJien1pIdH2E+of3MebE1gdw hus8AR6hBZf7DFyuqJPVYLAGSBP6dzmCxnndSt6a2T5NfiS9Qd5OWdMEJlJBXx9kT5 UQumJX/BCIlqh35fLgjkTE78lNH2a1rIb3Zd/JYo= Date: Thu, 12 Sep 2019 18:44:57 +0200 Message-Id: <20190912164457.28412-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Thu, 12 Sep 2019 12:54:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Thu, 12 Sep 2019 15:47:31 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * 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 ;;; Copyright © 2018, 2019 Brett Gilio ;;; Copyright © 2019 Nicolò Balzarotti +;;; Copyright © 2019 Wiktor Żelazny ;;; ;;; 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"))))