From patchwork Mon Sep 16 16:18:06 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: 15395 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 6B483173E7; Mon, 16 Sep 2019 17:36:20 +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 2831C173E5 for ; Mon, 16 Sep 2019 17:36:20 +0100 (BST) Received: from localhost ([::1]:37000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9tz9-0002hd-7q for patchwork@mira.cbaines.net; Mon, 16 Sep 2019 12:36:19 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37430] [PATCH] gnu: Add r-assertable. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Sep 2019 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37430@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156865174224897 (code B ref -1); Mon, 16 Sep 2019 16:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2019 16:35:42 +0000 Received: from localhost ([127.0.0.1]:50944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9tyY-0006TP-4m for submit@debbugs.gnu.org; Mon, 16 Sep 2019 12:35:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:58439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9thn-00061M-Pp for submit@debbugs.gnu.org; Mon, 16 Sep 2019 12:18:24 -0400 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?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 034CD35CC2BC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1568650692; bh=02kZt6jHoUGbmYH2ubxcqHPom5t7C7UcV36Wa02+TFA=; h=From:To:Subject:Date; b=TFxskjGFUBoC7aMtZX5vUrt6oJqczlmE4f31JPUDuvzJA2UVv2c5pqWDZvpEeUaLS U5YtJcH5SNLO1r5nBn1pQPrVcm3jFh/HTuD5apdUSY4/Y/kWYWD1waspyTQVTQfG4O WdVa55O7MeTEod1bkSEx74oT5yFoVYLRrCrtp10k= Date: Mon, 16 Sep 2019 18:18:06 +0200 Message-Id: <20190916161806.24226-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Mon, 16 Sep 2019 12:35:39 -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-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-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 insert 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{assertable} 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 target +files and to efficiently import multiple tabular data files into one +data.table.") + (license license:gpl3)))