From patchwork Sun Apr 9 03:13:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kyle X-Patchwork-Id: 49031 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 B495C1748D; Sun, 9 Apr 2023 04:15:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C918F17486 for ; Sun, 9 Apr 2023 04:15:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plLWC-0006WU-Nw; Sat, 08 Apr 2023 23:15:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plLWB-0006WJ-5B for guix-patches@gnu.org; Sat, 08 Apr 2023 23:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plLWA-00014i-Rb for guix-patches@gnu.org; Sat, 08 Apr 2023 23:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plLWA-0002a3-EZ for guix-patches@gnu.org; Sat, 08 Apr 2023 23:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62733] [PATCH] gnu: Add r-littler Resent-From: kyle Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Apr 2023 03:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62733@debbugs.gnu.org Cc: rekado@elephly.net, Kyle Andrews X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16810100509812 (code B ref -1); Sun, 09 Apr 2023 03:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2023 03:14:10 +0000 Received: from localhost ([127.0.0.1]:59984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plLVJ-0002YB-J9 for submit@debbugs.gnu.org; Sat, 08 Apr 2023 23:14:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:39302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plLVI-0002Y4-EC for submit@debbugs.gnu.org; Sat, 08 Apr 2023 23:14:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plLVI-0006S2-1Q for guix-patches@gnu.org; Sat, 08 Apr 2023 23:14:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plLVF-0000v5-VH for guix-patches@gnu.org; Sat, 08 Apr 2023 23:14:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E8327240195 for ; Sun, 9 Apr 2023 05:14:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681010042; bh=OxWxp+Crjc4Q1H50V3/OC9x8aEjyjeH8qMil5FinPU0=; h=From:To:Cc:Subject:Date:From; b=DeM8uRnQ+QsXQ0X0BW71nEMZBcKOF0C/6s0xX0sVYoarsfTWfg5hYhwy252Y9UHjp aS74NQ1uZbTcyjWZsUz/0MbtBb+VRv3ULuB2O6AtPGjBwaQmWTaJo5e5Z8fw97U0Vg 69fk7778ALMKFo2P5LXOGLJuQ2Vb44CmxR3/kcU8/3EjiuK7FdKACU9tHkW2Y+qpwk XIqdXaK2XXPhVsDKeZG4U88n8KdDg5uhhCVr8iEYB1R+NF2ZqCatLqA0OQOyTm1xA7 FmuSpJ0vQhruUuYfFMondvrb52X7lhrI7YIjFpZppb0ctweDapwzeQGTyeDLd/EaR3 xjqUeJO7C+TDw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvHJ657fJz6tm4; Sun, 9 Apr 2023 05:13:58 +0200 (CEST) From: kyle Date: Sun, 9 Apr 2023 03:13:56 +0000 Message-Id: <9aa99d67ff185fdd557401c8cf6f3c90638a37c3.1681010036.git.kyle@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kyle@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Kyle Andrews --- gnu/packages/statistics.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 628057a189..e61d06721e 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1010,6 +1010,42 @@ (define-public r-labeling algorithms.") (license license:expat))) +(define-public r-littler + (package + (name "r-littler") + (version "0.3.18") + (source (origin + (method url-fetch) + (uri (cran-uri "littler" version)) + (sha256 + (base32 + "1lp6a62g3yhzr4pv9kynibv7k9pd546w6hifs1aficyxbyg4dgqq")))) + (properties `((upstream-name . "littler"))) + (build-system r-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'add-to-path + (lambda _ + (mkdir (string-append #$output "/bin")) + (copy-file "inst/bin/r" + (string-append #$output "/bin/r"))))))) + (inputs (list icu4c)) + (native-inputs + (list r-simplermarkdown automake autoconf zlib)) + (home-page "https://github.com/eddelbuettel/littler") + (synopsis "R at the Command-Line via 'r'") + (description + "This package provides a scripting and command-line front-end is provided by r +(aka littler') as a lightweight binary wrapper around the GNU R language and +environment for statistical computing and graphics. While R can be used in +batch mode, the r binary adds full support for both shebang'-style scripting +(i.e. using a hash-mark-exclamation-path expression as the first line in +scripts) as well as command-line use in standard Unix pipelines. In other +words, r provides the R language without the environment.") + (license license:gpl2+))) + (define-public r-magrittr (package (name "r-magrittr")