From patchwork Thu Oct 3 13:49:13 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: 15608 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 DFC39174C7; Thu, 3 Oct 2019 14:52:53 +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 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 8F320174C0 for ; Thu, 3 Oct 2019 14:52:53 +0100 (BST) Received: from localhost ([::1]:36450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1XJ-00065Q-5D for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 09:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56237) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1WV-0005vp-Ka for guix-patches@gnu.org; Thu, 03 Oct 2019 09:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1WU-0007XD-9R for guix-patches@gnu.org; Thu, 03 Oct 2019 09:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG1WU-0007X7-6v for guix-patches@gnu.org; Thu, 03 Oct 2019 09:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG1WU-0004e4-4v for guix-patches@gnu.org; Thu, 03 Oct 2019 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37601] [PATCH] gnu: Add r-latex2exp. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37601@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157011068817813 (code B ref -1); Thu, 03 Oct 2019 13:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2019 13:51:28 +0000 Received: from localhost ([127.0.0.1]:38981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1Vw-0004dE-4f for submit@debbugs.gnu.org; Thu, 03 Oct 2019 09:51:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:50671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1Vt-0004d6-Fg for submit@debbugs.gnu.org; Thu, 03 Oct 2019 09:51:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56170) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1Vr-0005r0-9g for guix-patches@gnu.org; Thu, 03 Oct 2019 09:51:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1Vq-0007NO-6X for guix-patches@gnu.org; Thu, 03 Oct 2019 09:51:23 -0400 Received: from freeshell.de ([2a01:360:106::2]:40103) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iG1Vq-0007M3-0x for guix-patches@gnu.org; Thu, 03 Oct 2019 09:51:22 -0400 From: Wiktor =?utf-8?q?=C5=BBelazny?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 9DD5335CC340 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1570110679; bh=o9NtAACxwh8wXpXFcnOPxxb+0itYFVk8KA1IYyLSVvw=; h=From:To:Subject:Date; b=ge++phatFvmDwsrJ6ESSdfL2RCH3qen8xPhn5PTlPPMRf4aWbZJ15Mu3XMAD1VHlk /y+hc5EpFC9aWA8NS7cCH120a4wgSCm5kXgFfJjM6HQzrTDJ6tNyCu1vCoi2xkZmO/ fJsG/G2TklVW3HXGlLIQPa1UKljwjxiDADTOgF+8= Date: Thu, 3 Oct 2019 15:49:13 +0200 Message-Id: <20191003134913.10011-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-latex2exp): new variable. --- gnu/packages/cran.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 3a9a605efe..c1ef358af5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15637,3 +15637,24 @@ unique identifiers, and whether it is a certain length. In addition, files and to efficiently import multiple tabular data files into one data.table.") (license license:gpl3))) + +(define-public r-latex2exp + (package + (name "r-latex2exp") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (cran-uri "latex2exp" version)) + (sha256 + (base32 + "12nbcgfmv13k6sc6m326ras9bcvy380b7rxcxphn06r3cfkby0zw")))) + (build-system r-build-system) + (propagated-inputs + `(("r-stringr" ,r-stringr) + ("r-magrittr", r-magrittr))) + (home-page "https://github.com/stefano-meschiari/latex2exp/") + (synopsis "Use LaTeX expressions in plots") + (description "@code{latex2exp} parses and converts LaTeX math formulas to +R's plotmath expressions, used to enter mathematical formulas and symbols to be +rendered as text, axis labels, etc. throughout R's plotting system.") + (license license:expat)))