From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdJ4-000833-Or for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdJ1-0005F4-0a for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42218) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzdIz-0005D1-Gy for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gzdIy-0001cd-19 for guix-patches@gnu.org; Fri, 01 Mar 2019 03:14:04 -0500 Subject: [bug#34694] [PATCH] gnu: add r-styler. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:51908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdIC-0007Vb-KF for guix-patches@gnu.org; Fri, 01 Mar 2019 03:13:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdDn-0006rE-0H for guix-patches@gnu.org; Fri, 01 Mar 2019 03:08:45 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:37063) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzdDj-0006kd-5c for guix-patches@gnu.org; Fri, 01 Mar 2019 03:08:40 -0500 Received: by mail-wr1-x434.google.com with SMTP id w6so21553758wrs.4 for ; Fri, 01 Mar 2019 00:08:36 -0800 (PST) Received: from lenovo.iit.local ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id a9sm4181699wmm.10.2019.03.01.00.08.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 00:08:34 -0800 (PST) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Date: Fri, 1 Mar 2019 09:07:57 +0100 Message-Id: <20190301080758.5548-7-anothersms@gmail.com> In-Reply-To: <20190301080758.5548-1-anothersms@gmail.com> References: <20190301080758.5548-1-anothersms@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 34694@debbugs.gnu.org --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 6ab5ecc8da..6acd3efdba 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10777,3 +10777,33 @@ using @code{S3}.") (description "Wrappers on 'regexpr' and 'gregexpr' to return the match results in tidy data frames.") (license license:expat))) + +(define-public r-styler + (package + (name "r-styler") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "styler" version)) + (sha256 + (base32 + "1z24mi88snbz1avjw9phq0lzmigddvycc56s83nxzr9w9z85mh05")))) + (build-system r-build-system) + (propagated-inputs + `(("r-backports" ,r-backports) + ("r-cli" ,r-cli) + ("r-magrittr" ,r-magrittr) + ("r-purrr" ,r-purrr) + ("r-rematch2" ,r-rematch2) + ("r-rlang" ,r-rlang) + ("r-rprojroot" ,r-rprojroot) + ("r-tibble" ,r-tibble) + ("r-withr" ,r-withr) + ("r-xfun" ,r-xfun))) + (home-page "https://github.com/r-lib/styler") + (synopsis + "Non-Invasive Pretty Printing of R Code") + (description + "Pretty-prints R code without changing the user's formatting intent.") + (license license:gpl3))) -- 2.20.1