From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44314) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9tyv-0002b1-IJ for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9tys-0005cN-Rw for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9tys-0005cF-Mq for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9tys-0006UV-IC for guix-patches@gnu.org; Mon, 16 Sep 2019 12:36:02 -0400 Subject: [bug#37430] [PATCH] gnu: Add r-assertable. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:40235) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9thl-0003M1-Ce for guix-patches@gnu.org; Mon, 16 Sep 2019 12:18:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9thi-0005O5-OS for guix-patches@gnu.org; Mon, 16 Sep 2019 12:18:20 -0400 Received: from freeshell.de ([2a01:360:106::2]:54281) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i9the-0005Me-W8 for guix-patches@gnu.org; Mon, 16 Sep 2019 12:18:16 -0400 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Mon, 16 Sep 2019 18:18:06 +0200 Message-Id: <20190916161806.24226-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: 37430@debbugs.gnu.org From: Wiktor =C5=BBelazny * gnu/packages/cran.scm (r-assertable): 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 cb0be4aedd..89a581cb5e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15610,3 +15610,30 @@ deprecated, and defunct). It makes it easy to i= nsert badges corresponding to these stages in your documentation. Usage of deprecated functions are signalled with increasing levels of non-invasive verbosity.") (license license:gpl3))) + +(define-public r-assertable + (package + (name "r-assertable") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "assertable" version)) + (sha256 + (base32 + "0jjd6ylh26fykzzv1q2lbajzfj07lyxwb3b3xmr2zdg2fp5b2w4c")))) + (build-system r-build-system) + (propagated-inputs + `(("r-data-table" ,r-data-table))) + (home-page "https://cran.r-project.org/web/packages/assertable/") + (synopsis "Verbose assertions for tabular data (data.frames and data= .tables)") + (description "This package provides simple, flexible assertions on +data.frame or data.table objects with verbose output for vetting. While= other +assertion packages apply towards more general use-cases, @code{assertabl= e} is +tailored towards tabular data. It includes functions to check variable = names +and values, whether the dataset contains all combinations of a given set= of +unique identifiers, and whether it is a certain length. In addition, +@code{assertable} includes utility functions to check the existence of t= arget +files and to efficiently import multiple tabular data files into one +data.table.") + (license license:gpl3))) --=20 2.23.0