From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#37392] [PATCH] gnu: Add r-assertr Resent-Message-ID: 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?= Date: Thu, 12 Sep 2019 18:44:57 +0200 Message-Id: <20190912164457.28412-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37392@debbugs.gnu.org From: Wiktor =C5=BBelazny * 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 =C2=A9 2018 Marius Bakke ;;; Copyright =C2=A9 2018, 2019 Brett Gilio ;;; Copyright =C2=A9 2019 Nicol=C3=B2 Balzarotti +;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny ;;; ;;; 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")))) --=20 2.22.0