--- Begin Message ---
Subject: |
[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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#34694] [PATCH] gnu: add r-styler. |
Date: |
Fri, 19 Apr 2019 19:15:41 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Hi Nicolò,
> ---
> 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 […]
Thank you for the patch. I’ve applied it with a few minor changes
(description and commit message) to the master branch with commit
107850b391.
--
Ricardo
--- End Message ---