guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34694] [PATCH] gnu: add r-styler.


From: Nicolò Balzarotti
Subject: [bug#34694] [PATCH] gnu: add r-styler.
Date: Fri, 1 Mar 2019 09:07:57 +0100

---
 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]